mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-04 12:26:19 +00:00
chore: update auth service
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user