MOBILE-2670 core: Fix filename of uploaded files in desktop

main
Dani Palou 2019-08-23 10:39:34 +02:00
parent 4f08571d39
commit 8651e89701
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ export class FileTransferObjectMock extends FileTransferObject {
for (const name in params) { for (const name in params) {
fd.append(name, params[name]); fd.append(name, params[name]);
} }
fd.append('file', file); fd.append('file', file, fileName);
xhr.send(fd); xhr.send(fd);
}).catch(reject); }).catch(reject);