Explorar el Código

Correct type of respInfo.status on IOS

Ben Hsieh hace 8 años
padre
commit
e6690114f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/ios/RNFetchBlobNetwork.m

+ 1
- 1
src/ios/RNFetchBlobNetwork.m Ver fichero

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