зеркало из https://github.com/github/AFNetworking.git
Using self.error instead of self.JSONError in AFJSONRequestOperation.
This commit is contained in:
Родитель
613ef3489d
Коммит
1ce0a211ba
|
@ -120,7 +120,7 @@ static dispatch_queue_t json_request_operation_processing_queue() {
|
||||||
dispatch_async(json_request_operation_processing_queue(), ^{
|
dispatch_async(json_request_operation_processing_queue(), ^{
|
||||||
id JSON = self.responseJSON;
|
id JSON = self.responseJSON;
|
||||||
|
|
||||||
if (self.JSONError) {
|
if (self.error) {
|
||||||
if (failure) {
|
if (failure) {
|
||||||
dispatch_async(self.failureCallbackQueue ?: dispatch_get_main_queue(), ^{
|
dispatch_async(self.failureCallbackQueue ?: dispatch_get_main_queue(), ^{
|
||||||
failure(self, self.error);
|
failure(self, self.error);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче