Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit e669011

Browse files
committed
Correct type of respInfo.status on IOS
1 parent 58ace5a commit e669011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ios/RNFetchBlobNetwork.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ - (void) URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dat
378378
@"redirects": redirects,
379379
@"respType" : respType,
380380
@"timeout" : @NO,
381-
@"status": [NSString stringWithFormat:@"%d", statusCode ]
381+
@"status": [NSNumber numberWithInteger:statusCode]
382382
};
383383

384384
#pragma mark - handling cookies

0 commit comments

Comments
 (0)