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

Commit

Permalink
Patch AFHTTPSessionManager
Browse files Browse the repository at this point in the history
All glory to @kevinrenskers
  • Loading branch information
CodaFi committed Oct 30, 2014
1 parent e8193c8 commit 0442a2c
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 0442a2c

Please sign in to comment.