chore: update frontend buf generator

This commit is contained in:
Steven
2024-03-06 00:22:31 +08:00
parent 29043f63b6
commit 7c16b1e00f
5 changed files with 8 additions and 4 deletions

View File

@ -54,7 +54,7 @@ const useUserStore = create<UserState>()((set, get) => ({
}
const { user } = await userServiceClient.getUser({
id: Number(id),
id: id,
});
if (!user) {
throw new Error("User not found");