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,
|
body:@{@"jobId": jobId,
|
||||||
@"statusCode": statusCode,
|
@"statusCode": statusCode,
|
||||||
@"contentLength": contentLength,
|
@"contentLength": contentLength,
|
||||||
@"headers": headers || [NSNull null]}];
|
@"headers": headers ?: [NSNull null]}];
|
||||||
};
|
};
|
||||||
|
|
||||||
params.progressCallback = ^(NSNumber* contentLength, NSNumber* bytesWritten) {
|
params.progressCallback = ^(NSNumber* contentLength, NSNumber* bytesWritten) {
|
||||||
|
|
Loading…
Reference in New Issue