Skip to content
This repository has been archived by the owner on Nov 14, 2017. It is now read-only.

Commit

Permalink
Merge pull request #34 from CodaFi/fix-request-post
Browse files Browse the repository at this point in the history
Patch AFHTTPSessionManager
  • Loading branch information
CodaFi committed Oct 30, 2014
2 parents e8193c8 + 0442a2c commit 0435f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RACAFNetworking/AFHTTPSessionManager+RACSupport.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ - (RACSignal *)rac_POST:(NSString *)path parameters:(id)parameters constructingB
if (error) {
[subscriber sendError:error];
} else {
[subscriber sendNext:responseObject];
[subscriber sendNext:RACTuplePack(responseObject, response)];
[subscriber sendCompleted];
}
}];
Expand Down Expand Up @@ -71,7 +71,7 @@ - (RACSignal *)rac_requestPath:(NSString *)path parameters:(id)parameters method
if (error) {
[subscriber sendError:error];
} else {
[subscriber sendNext:responseObject];
[subscriber sendNext:RACTuplePack(responseObject, response)];
[subscriber sendCompleted];
}
}];
Expand Down

0 comments on commit 0435f4f

Please sign in to comment.