mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-18 11:05:41 +01:00
change format of downloadFile message
This commit is contained in:
parent
0c76b0b8b5
commit
c132ba1642
@ -183,12 +183,9 @@ export class BrowserApi {
|
||||
data = Utils.fromBufferToB64(blobData);
|
||||
}
|
||||
SafariApp.sendMessageToApp('downloadFile', JSON.stringify({
|
||||
command: 'downloaderPageData',
|
||||
data: {
|
||||
blobData: data,
|
||||
blobOptions: blobOptions,
|
||||
fileName: fileName,
|
||||
},
|
||||
blobData: data,
|
||||
blobOptions: blobOptions,
|
||||
fileName: fileName,
|
||||
}), true);
|
||||
} else {
|
||||
const blob = new Blob([blobData], blobOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user