MOBILE-2670 core: Fix filename of uploaded files in desktop
parent
4f08571d39
commit
8651e89701
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue