Skip to content

Commit

Permalink
fix(developer): use lowercase api keys for usage counts
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed May 9, 2024
1 parent f091290 commit c519f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/developer/functions/https/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c519f24

Please sign in to comment.