mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-02-28 15:00:29 +00:00
Merge pull request #387 from jamesreggio/fix-null-headers
Fix build breakage
This commit is contained in:
commit
2dfcac5dd3
@ -465,7 +465,7 @@ RCT_EXPORT_METHOD(downloadFile:(NSDictionary *)options
|
||||
body:@{@"jobId": jobId,
|
||||
@"statusCode": statusCode,
|
||||
@"contentLength": contentLength,
|
||||
@"headers": headers || [NSNull null]}];
|
||||
@"headers": headers ?: [NSNull null]}];
|
||||
};
|
||||
|
||||
params.progressCallback = ^(NSNumber* contentLength, NSNumber* bytesWritten) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user