From c519f24f1e81405709f877a52952248ec79603c6 Mon Sep 17 00:00:00 2001 From: steveoh Date: Wed, 8 May 2024 18:14:36 -0600 Subject: [PATCH] fix(developer): use lowercase api keys for usage counts --- src/developer/functions/https/keys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/developer/functions/https/keys.js b/src/developer/functions/https/keys.js index c3d54951..13444c41 100644 --- a/src/developer/functions/https/keys.js +++ b/src/developer/functions/https/keys.js @@ -39,7 +39,7 @@ export const getKeys = async (uid) => { const keys = []; querySnapshot.forEach((doc) => keys.push(doc.data())); - let keyNames = keys.map((key) => key.key); + const keyNames = keys.map((key) => key.key.toLowerCase()); debug('getting key counts for', keyNames); try {