Skip to content

Commit

Permalink
lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-hu committed Nov 21, 2023
1 parent 0f367d4 commit 2ba9422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify/functions/save-game/save-game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const handler: Handler = async (event) => {
}

const requestBody = JSON.parse(event.body);
const id = humanId('-');
const id = humanId({ separator: '-', capitalize: false });
await setDoc(doc(db, 'games', id), requestBody);
return {
statusCode: 200,
Expand Down

0 comments on commit 2ba9422

Please sign in to comment.