chore: update auth service

This commit is contained in:
Steven committed 2024-08-06 21:56:00 +08:00
1 parent e12c83137d
commit 6db8611a58
11 files changed
+377 -414

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ const useUserStore = create<UserState>()((set, get) => ({
return users;
},
fetchCurrentUser: async () => {
const { user } = await authServiceClient.getAuthStatus({});
const user = await authServiceClient.getAuthStatus({});
if (!user) {
throw new Error("User not found");
}