From 5958ec18d81030ae8f9bb579df613a18689ac929 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 15 Jan 2025 20:13:36 +0800 Subject: [PATCH] fix: update type --- apps/mobile/src/store/user/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/store/user/store.ts b/apps/mobile/src/store/user/store.ts index 536830a59..971ec1067 100644 --- a/apps/mobile/src/store/user/store.ts +++ b/apps/mobile/src/store/user/store.ts @@ -22,7 +22,7 @@ class UserSyncService { async whoami() { const res = await apiFetch<{ user: UserModel - }>("/better-auth/get-session", { + } | null>("/better-auth/get-session", { method: "GET", }) if (res) {