From 0143376d4f201edc9f8cf3ccfb0a97d612b0c5be Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Tue, 1 Oct 2024 14:27:47 -0400 Subject: [PATCH] More debugging. --- src/authorization.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authorization.ts b/src/authorization.ts index 398694c..5a84fe9 100644 --- a/src/authorization.ts +++ b/src/authorization.ts @@ -21,7 +21,7 @@ export async function getAPIKey(key: string): Promise { return cachedKey; } const hashedKey = hashAPIKey(key); - console.log(`In getAPIKey: ${key}, ${hashedKey}`); + console.log(`In getAPIKey: ${hashedKey}`); const apiKey = await APIKey.findOne({ where: { hashed_key: hashedKey } }); HASHER.reset(); if (apiKey !== null) {