Browse Source

Correct type of respInfo.status on IOS

Ben Hsieh 8 years ago
parent
commit
e6690114f8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/ios/RNFetchBlobNetwork.m

+ 1
- 1
src/ios/RNFetchBlobNetwork.m View File

@@ -378,7 +378,7 @@ NSOperationQueue *taskQueue;
378 378
                      @"redirects": redirects,
379 379
                      @"respType" : respType,
380 380
                      @"timeout" : @NO,
381
-                     @"status": [NSString stringWithFormat:@"%d", statusCode ]
381
+                     @"status": [NSNumber numberWithInteger:statusCode]
382 382
                     };
383 383
 
384 384
 #pragma mark - handling cookies