Skip to content

Commit

Permalink
Merge pull request #14 from Clarifai/release-2.0.3
Browse files Browse the repository at this point in the history
release 2.0.3
  • Loading branch information
jpgsloan authored Oct 28, 2016
2 parents a0c6a81 + 20dc624 commit a892f10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Clarifai.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Clarifai'
s.version = '2.0.2'
s.version = '2.0.3'
s.summary = 'Clarifai API client for Objective-C.'

s.homepage = 'https://github.com/Clarifai'
Expand Down
2 changes: 1 addition & 1 deletion Clarifai/Classes/ClarifaiApp.m
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ - (void)setAccessToken:(NSString *)accessToken {
NSString *value = [NSString stringWithFormat:@"Bearer %@", self.accessToken];
[self.manager.requestSerializer setValue:value forHTTPHeaderField:@"Authorization"];
[self.manager.requestSerializer setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
[self.manager.requestSerializer setValue:@"objc:2.0.2" forHTTPHeaderField:@"X-Clarifai-Client"];
[self.manager.requestSerializer setValue:@"objc:2.0.3" forHTTPHeaderField:@"X-Clarifai-Client"];
}

- (void)ensureValidAccessToken:(void (^)(NSError *error))handler {
Expand Down

0 comments on commit a892f10

Please sign in to comment.