Fix: unwrap error
This commit is contained in:
parent
4d42765d6c
commit
f0c0bc4d6a
|
@ -124,7 +124,7 @@ const msg = (() => {
|
||||||
if (isExtension) {
|
if (isExtension) {
|
||||||
exchangeSet(message);
|
exchangeSet(message);
|
||||||
}
|
}
|
||||||
let request = tabSend(tab.id, message, options);
|
let request = tabSend(tab.id, message, options).then(unwrapData);
|
||||||
if (message.id) {
|
if (message.id) {
|
||||||
request = withCleanup(request, () => bg._msg.storage.delete(message.id));
|
request = withCleanup(request, () => bg._msg.storage.delete(message.id));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user