From 840ccdb56c54ef7b674ec3ad45f983bb93326d2f Mon Sep 17 00:00:00 2001 From: Revopush Date: Tue, 6 Oct 2026 20:06:44 +0300 Subject: [PATCH] fix: remove debug logging of API token list in toLegacyAccessKeyList Removes a leftover debug console.log that printed the API token list response (id, description, created_at) to stdout whenever access keys were listed. Resolves CodeQL alert #2 (js/clear-text-logging). Co-Authored-By: Claude Opus 5.5 --- src/utils/adapter/adapter.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/adapter/adapter.ts b/src/utils/adapter/adapter.ts index 5bfd35da..48a9c423 100644 --- a/src/utils/adapter/adapter.ts +++ b/src/utils/adapter/adapter.ts @@ -25,7 +25,6 @@ class Adapter { } public toLegacyAccessKeyList(apiTokens: adapterTypes.ApiTokensGetResponse[]): sdkTypes.AccessKey[] { - console.log(apiTokens); const accessKeyList: sdkTypes.AccessKey[] = apiTokens.map((apiToken) => { const accessKey: sdkTypes.AccessKey = { createdTime: Date.parse(apiToken.created_at),