From c132ba1642d318439327b5963897c3ad229a05bb Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 23 Aug 2019 09:55:59 -0400 Subject: [PATCH] change format of downloadFile message --- src/browser/browserApi.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/browser/browserApi.ts b/src/browser/browserApi.ts index cbb06bca57..ede5779c16 100644 --- a/src/browser/browserApi.ts +++ b/src/browser/browserApi.ts @@ -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);