diff --git a/src/stores.ts b/src/stores.ts index c41423a..9e794e0 100644 --- a/src/stores.ts +++ b/src/stores.ts @@ -81,7 +81,7 @@ export type SyncPayload = z.infer; export function verifyStoreData(type: StoreType, data: string) { const schema = storeTypes[type]; if (!schema) return false; - if(data === "null") return true; // allow null data + if (data === "null") return true; // allow null data try { const parsedData = JSON.parse(data); schema.parse(parsedData);