Procházet zdrojové kódy

Correct type of respInfo.status on IOS

Ben Hsieh před 8 roky
rodič
revize
e6690114f8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/ios/RNFetchBlobNetwork.m

+ 1
- 1
src/ios/RNFetchBlobNetwork.m Zobrazit soubor

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