fix: update type
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user