1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-02 08:40:08 +01:00

null out data

This commit is contained in:
Kyle Spearrin 2019-08-15 14:10:24 -04:00
parent 039f09e33f
commit 87abab1eb8

View File

@ -6,6 +6,7 @@ export class SafariApp {
(window as any).bitwardenSafariAppMessageReceiver = (message: any) => {
// tslint:disable-next-line
console.log(message);
message.data = null;
SafariApp.receiveMessageFromApp(message == null ? null : JSON.parse(message));
};
}