Merge branch 'main' into user-account

This commit is contained in:
binwiederhier 2022-12-12 11:12:05 -05:00
commit cf68414c40
6 changed files with 64 additions and 21 deletions

View file

@ -253,7 +253,7 @@ export async function* fetchLinesIterator(fileURL, headers) {
}
export const randomAlphanumericString = (len) => {
const alphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
const alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
let id = "";
for (let i = 0; i < len; i++) {
id += alphabet[(Math.random() * alphabet.length) | 0];