Skip to content

Commit

Permalink
fix #47 (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirekang authored Mar 22, 2024
1 parent df1e697 commit d874408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/state/firestore-state-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class FirestoreError extends Error {}

// firestore document id

const validChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-.+$&" as const;
const validChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-." as const;

function randomId(size: number) {
const b = crypto.getRandomValues(new Uint8Array(size));
Expand Down

0 comments on commit d874408

Please sign in to comment.