mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2025-12-06 06:56:10 +00:00
Remove semicolons on index
This commit is contained in:
4
index.js
4
index.js
@@ -78,11 +78,11 @@ export function download (options) {
|
||||
|
||||
options.headers = options.headers && typeof options.headers === 'object'
|
||||
? { ...headers, ...options.headers }
|
||||
: headers;
|
||||
: headers
|
||||
|
||||
options.metadata = options.metadata && typeof options.metadata === 'object'
|
||||
? JSON.stringify(options.metadata)
|
||||
: JSON.stringify({});
|
||||
: JSON.stringify({})
|
||||
|
||||
RNBackgroundDownloader.download(options)
|
||||
const task = new DownloadTask({ id: options.id, metadata: options.metadata})
|
||||
|
||||
Reference in New Issue
Block a user