Fix build breakage

This commit is contained in:
James Reggio 2017-11-17 15:33:45 -05:00
parent f037c79ec9
commit 23364bd121
No known key found for this signature in database
GPG Key ID: D7B0D206CE500BE8

View File

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