fix: update type
This commit is contained in:
parent
3bdcc90c70
commit
5958ec18d8
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue