style: run prettier
Some checks failed
TrafficCue Server CI / check (push) Failing after 3m33s
TrafficCue Server CD / build (push) Successful in 2m0s

This commit is contained in:
2025-09-29 19:00:47 +02:00
parent 546ca0ddc7
commit aff447e741

View File

@ -81,7 +81,7 @@ export type SyncPayload = z.infer<typeof SyncPayload>;
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);