From 34a178f92092d1e74f366de09cc31629767177a2 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 31 Mar 2022 16:49:43 +0200 Subject: [PATCH] chore: ignore the `action` in the message for now we still use type --- src/extension/background-script/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension/background-script/index.js b/src/extension/background-script/index.js index 3de0b5fcc1..9b59bdffcf 100644 --- a/src/extension/background-script/index.js +++ b/src/extension/background-script/index.js @@ -83,7 +83,7 @@ const routeCalls = (message, sender) => { } const debug = state.getState().settings.debug; - const action = message.type || message.action; // TODO: what is a good message format to route to an action? + const action = message.type; //|| message.action; // TODO: what is a good message format to route to an action? console.log(`Routing call: ${action}`); // Potentially check for internal vs. public calls const call = router(action)(message, sender);