diff --git a/src/backend/pythonMethods/storeUtils.ts b/src/backend/pythonMethods/storeUtils.ts index 03b603f..a5789a0 100644 --- a/src/backend/pythonMethods/storeUtils.ts +++ b/src/backend/pythonMethods/storeUtils.ts @@ -14,7 +14,7 @@ export async function booleanStoreRead(key: string) { export async function booleanStoreWrite(key: string, value: boolean) { const deckyRes = await server!.callPluginMethod<{ key: string; val: string }>("store_write", { key, - value: val ? "1" : "0", + val: value ? "1" : "0", }); if (!deckyRes.success) { toast(`Error fetching ${key}`, deckyRes.result);