From 262d31e608ed9126fa9493e44aa761077fd4cd7a Mon Sep 17 00:00:00 2001 From: akumar Date: Fri, 28 Jun 2024 09:51:57 +0200 Subject: [PATCH] fix: remove apiKey command listener --- cfg/config.json | 7 ------- src/worker.ts | 1 - 2 files changed, 8 deletions(-) diff --git a/cfg/config.json b/cfg/config.json index 91d1fd3..7ac30b9 100644 --- a/cfg/config.json +++ b/cfg/config.json @@ -308,12 +308,6 @@ "configUpdateResponse": { "messageObject": "io.restorecommerce.commandinterface.CommandResponse" }, - "setApiKeyCommand": { - "messageObject": "io.restorecommerce.commandinterface.CommandRequest" - }, - "setApiKeyResponse": { - "messageObject": "io.restorecommerce.commandinterface.CommandResponse" - }, "flushCacheCommand": { "messageObject": "io.restorecommerce.commandinterface.CommandRequest" }, @@ -335,7 +329,6 @@ "resetCommand", "versionCommand", "configUpdateCommand", - "setApiKeyCommand", "flushCacheCommand" ] }, diff --git a/src/worker.ts b/src/worker.ts index 2fb52b9..803b86d 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -114,7 +114,6 @@ const COMMANDEVENTS = [ 'resetCommand', 'versionCommand', 'configUpdateCommand', - 'setApiKeyCommand', 'flushCacheCommand' ]; const HIERARCHICAL_SCOPE_REQUEST_EVENT = 'hierarchicalScopesRequest';