Merge pull request #316 from dismory/dev
Fix the duplicated `AFJSONDecode()` calling that cause message sending t...
This commit is contained in:
commit
17ee2b4cf0
@ -66,7 +66,7 @@ static dispatch_queue_t json_request_operation_processing_queue() {
|
||||
}
|
||||
|
||||
- (id)responseJSON {
|
||||
if (!_responseJSON && [self.responseData length] > 0 && [self isFinished]) {
|
||||
if (!_responseJSON && [self.responseData length] > 0 && [self isFinished] && !self.JSONError) {
|
||||
NSError *error = nil;
|
||||
|
||||
if ([self.responseData length] == 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user