Add function to generate user ID

This commit is contained in:
Oliver-Akins 2020-10-10 18:52:57 -06:00
parent 1f3f643f27
commit a9192e9423

View file

@ -9,4 +9,9 @@ export const generate_game_code = (): string => {
} while (game_code.length < 6);
return game_code;
};
export const generate_user_id = (): string => {
let uid = uuidv4();
return uid;
};