Skip to content

Commit

Permalink
raaagh i am in ENGLISH CLASS!!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
beebls authored Mar 11, 2024
1 parent 413b6f4 commit e66b06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/pythonMethods/storeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export async function booleanStoreRead(key: string) {
}

export async function booleanStoreWrite(key: string, value: boolean) {
const deckyRes = await server!.callPluginMethod<{ key: string; value: string }>("store_write", {
const deckyRes = await server!.callPluginMethod<{ key: string; val: string }>("store_write", {
key,
value: value ? "1" : "0",
value: val ? "1" : "0",
});
if (!deckyRes.success) {
toast(`Error fetching ${key}`, deckyRes.result);
Expand Down

0 comments on commit e66b06c

Please sign in to comment.