mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-06-05 00:00:35 +08:00
Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46
This commit is contained in:
committed by
Jesse MacFadyen
parent
5ee666ce0b
commit
314677c0c3
@@ -281,7 +281,7 @@ exec(win, fail, 'FileTransfer', 'upload',
|
||||
// if download isn't cancelled, contunue with creating and preparing download operation
|
||||
var downloader = new Windows.Networking.BackgroundTransfer.BackgroundDownloader();
|
||||
for (var header in headers) {
|
||||
if (header.hasOwnProperty(header)) {
|
||||
if (headers.hasOwnProperty(header)) {
|
||||
downloader.setRequestHeader(header, headers[header]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user