mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
change format of downloadFile message
This commit is contained in:
@@ -183,12 +183,9 @@ export class BrowserApi {
|
|||||||
data = Utils.fromBufferToB64(blobData);
|
data = Utils.fromBufferToB64(blobData);
|
||||||
}
|
}
|
||||||
SafariApp.sendMessageToApp('downloadFile', JSON.stringify({
|
SafariApp.sendMessageToApp('downloadFile', JSON.stringify({
|
||||||
command: 'downloaderPageData',
|
blobData: data,
|
||||||
data: {
|
blobOptions: blobOptions,
|
||||||
blobData: data,
|
fileName: fileName,
|
||||||
blobOptions: blobOptions,
|
|
||||||
fileName: fileName,
|
|
||||||
},
|
|
||||||
}), true);
|
}), true);
|
||||||
} else {
|
} else {
|
||||||
const blob = new Blob([blobData], blobOptions);
|
const blob = new Blob([blobData], blobOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user