Merge pull request #2069 from dpalou/MOBILE-2670

MOBILE-2670 core: Fix filename of uploaded files in desktop
main
Juan Leyva 2019-08-23 10:18:02 +01:00 committed by GitHub
commit 0868a4646c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {
fd.append(name, params[name]);
}
fd.append('file', file);
fd.append('file', file, fileName);
xhr.send(fd);
}).catch(reject);