Bläddra i källkod

Correct type of respInfo.status on IOS

Ben Hsieh 8 år sedan
förälder
incheckning
e6690114f8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/ios/RNFetchBlobNetwork.m

+ 1
- 1
src/ios/RNFetchBlobNetwork.m Visa fil

@@ -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