fix: update type

This commit is contained in:
DIYgod 2025-01-15 20:13:36 +08:00
parent 3bdcc90c70
commit 5958ec18d8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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) {