Permalink
Browse files

Fixing no data success callback parameters

  • Loading branch information...
mattt committed Aug 15, 2011
1 parent d22ed88 commit 4f9c1a12dd58898ce7aa89e7015ce5b984d02384
Showing with 1 addition and 1 deletion.
  1. +1 −1 AFNetworking/AFJSONRequestOperation.m
@@ -80,7 +80,7 @@ + (id)operationWithRequest:(NSURLRequest *)urlRequest
}
} else if ([data length] == 0) {
if (success) {
- success(nil);
+ success(request, response, nil);
}
} else {
dispatch_async(json_request_operation_processing_queue(), ^(void) {

0 comments on commit 4f9c1a1

Please sign in to comment.