diff --git a/backend/utils.ts b/backend/utils.ts index ece47cf..2114882 100644 --- a/backend/utils.ts +++ b/backend/utils.ts @@ -1,7 +1,7 @@ import { DateTime } from 'luxon'; import { id } from 'william.js'; -export const customId = (length: number, alphabet: string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") => id(length, 1, alphabet); +export const customId = (length: number, alphabet: string = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789') => id(length, 1, alphabet); export const randomHexColour = () => { // From: https://www.geeksforgeeks.org/javascript-generate-random-hex-codes-color/ const letters = '0123456789ABCDEF';