Replaces a failure block with dispatchFailureBlock method
I missed that on the initial transform.
This commit is contained in:
parent
800d05181d
commit
28e580c961
1 changed files with 1 additions and 5 deletions
|
|
@ -124,11 +124,7 @@ static dispatch_queue_t json_request_operation_processing_queue() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self.error) {
|
if (self.error) {
|
||||||
if (failure) {
|
[self dispatchFailureBlock:failure];
|
||||||
dispatch_async(self.failureCallbackQueue ? self.failureCallbackQueue : dispatch_get_main_queue(), ^{
|
|
||||||
failure(self, self.error);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
dispatch_async(json_request_operation_processing_queue(), ^(void) {
|
dispatch_async(json_request_operation_processing_queue(), ^(void) {
|
||||||
id JSON = self.responseJSON;
|
id JSON = self.responseJSON;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue