diff options
| author | ivar <i@oiee.no> | 2025-12-15 00:40:21 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2025-12-15 00:40:21 +0100 |
| commit | 2b5e4c4aa372632b87a404027cf53d5a7bfc3808 (patch) | |
| tree | 4782fec17e6c3745fb43e209dfe80e33340d37c0 /app/src/routes/sb1.remote.ts | |
| parent | 008862f8a2431c8f755a38a0ef242b8faf125057 (diff) | |
| download | sparebank1-actualbudget-2b5e4c4aa372632b87a404027cf53d5a7bfc3808.tar.xz sparebank1-actualbudget-2b5e4c4aa372632b87a404027cf53d5a7bfc3808.zip | |
Progress
Diffstat (limited to 'app/src/routes/sb1.remote.ts')
| -rw-r--r-- | app/src/routes/sb1.remote.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/src/routes/sb1.remote.ts b/app/src/routes/sb1.remote.ts index d2eb0cc..c3967c1 100644 --- a/app/src/routes/sb1.remote.ts +++ b/app/src/routes/sb1.remote.ts @@ -8,24 +8,24 @@ const init_auth_session = command(async () => { return await sb1.auth.init_auth_session() }) -const is_ready = query(async () => { - return await sb1.auth.is_ready() +const is_ready = query(() => { + return sb1.auth.is_ready() }) -const get_accounts = query(async () => { - return await sb1.data.get_accounts() +const get_accounts = query(() => { + return sb1.data.get_accounts() }) -const get_transactions = query(v.string(), async (accountKey: string) => { - return await sb1.data.get_transactions(accountKey) +const get_transactions = query(v.string(), (accountKey: string) => { + return sb1.data.get_transactions(accountKey) }) const clear_auth_session = query(async () => { await db.delete(syncSession) }) -const get_auth_info = query(async () => { - return await sb1.auth.get_auth_info() +const get_auth_info = query(() => { + return sb1.auth.get_auth_info() }) const refresh_tokem = command(async () => { |
