Skip to content

Commit

Permalink
More debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Oct 1, 2024
1 parent 8fa4324 commit 0143376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function getAPIKey(key: string): Promise<APIKey | null> {
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) {
Expand Down

0 comments on commit 0143376

Please sign in to comment.