From aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 30 Mar 2020 16:09:32 +0530 Subject: re-format with prettier v2, fix HTML --- src/webex/wxApi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webex/wxApi.ts') diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index 5edd1907b..a530b7506 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -79,7 +79,7 @@ async function callBackend( detail: MessageMap[T]["request"], ): Promise { return new Promise((resolve, reject) => { - chrome.runtime.sendMessage({ type, detail }, resp => { + chrome.runtime.sendMessage({ type, detail }, (resp) => { if (chrome.runtime.lastError) { console.log("Error calling backend"); reject( -- cgit v1.2.3