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';