From f0c0bc4d6a5a720abfdc91fc92ef5973783c600f Mon Sep 17 00:00:00 2001 From: eight Date: Fri, 12 Oct 2018 01:11:17 +0800 Subject: [PATCH] Fix: unwrap error --- js/msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/msg.js b/js/msg.js index c0130398..b5a655d5 100644 --- a/js/msg.js +++ b/js/msg.js @@ -124,7 +124,7 @@ const msg = (() => { if (isExtension) { exchangeSet(message); } - let request = tabSend(tab.id, message, options); + let request = tabSend(tab.id, message, options).then(unwrapData); if (message.id) { request = withCleanup(request, () => bg._msg.storage.delete(message.id)); }