Skip to content

Commit

Permalink
Fix error in README sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
Conrad Kramer committed Nov 24, 2014
1 parent fd5e5e0 commit 5ab481d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ AFOAuth2Manager *OAuth2Manager =
AFHTTPRequestOperationManager *manager =
[[AFHTTPRequestOperationManager alloc] initWithBaseURL:baseURL];
[manager.requestSerializer setAuthorizationHeaderFieldWithCredential:credential.accessToken];
[manager.requestSerializer setAuthorizationHeaderFieldWithCredential:credential];
[manager GET:@"/path/to/protected/resource"
parameters:nil
Expand Down

0 comments on commit 5ab481d

Please sign in to comment.