From d874408c99e7be5acde4ae559002fcbe13b2c516 Mon Sep 17 00:00:00 2001 From: wirekang Date: Fri, 22 Mar 2024 17:13:07 +0900 Subject: [PATCH] fix #47 (#50) --- src/lib/state/firestore-state-repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/state/firestore-state-repository.ts b/src/lib/state/firestore-state-repository.ts index 4aa832c..d066002 100644 --- a/src/lib/state/firestore-state-repository.ts +++ b/src/lib/state/firestore-state-repository.ts @@ -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));