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
                      @"redirects": redirects,
378
                      @"redirects": redirects,
379
                      @"respType" : respType,
379
                      @"respType" : respType,
380
                      @"timeout" : @NO,
380
                      @"timeout" : @NO,
381
-                     @"status": [NSString stringWithFormat:@"%d", statusCode ]
381
+                     @"status": [NSNumber numberWithInteger:statusCode]
382
                     };
382
                     };
383
 
383
 
384
 #pragma mark - handling cookies
384
 #pragma mark - handling cookies