Skip to content

Commit

Permalink
remove access token debug
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Dec 27, 2018
1 parent 0494533 commit 8048304
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion GPSLogger/GLManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ - (void)setupHTTPClient {
_httpClient = [[AFHTTPSessionManager manager] initWithBaseURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@://%@", endpoint.scheme, endpoint.host]]];
_httpClient.requestSerializer = [AFJSONRequestSerializer serializer];
_httpClient.responseSerializer = [AFJSONResponseSerializer serializer];
NSLog(@"Access Token: %@", self.apiAccessToken);
if(self.apiAccessToken != nil && ![@"" isEqualToString:self.apiAccessToken]) {
[_httpClient.requestSerializer setValue:[NSString stringWithFormat:@"Bearer %@", self.apiAccessToken]
forHTTPHeaderField:@"Authorization"];
Expand Down

0 comments on commit 8048304

Please sign in to comment.