From 1efef22885e58edd446ee1531000842325c64daa Mon Sep 17 00:00:00 2001 From: btzr-io Date: Fri, 30 Jul 2021 17:51:44 -0500 Subject: [PATCH] fix unexpected trailing comma error --- electron/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index 76f50f821..ec7cc01d1 100644 --- a/electron/index.js +++ b/electron/index.js @@ -209,7 +209,7 @@ if (!gotSingleInstanceLock) { if (details.method === 'POST' && details.requestHeaders['Content-Type'] === 'application/json-rpc') { delete details.requestHeaders['Origin']; } - callback({ cancel: false, requestHeaders: details.requestHeaders, }); + callback({ cancel: false, requestHeaders: details.requestHeaders }); }); }); }