Skip to content

Commit

Permalink
feat : 사용자에 대한 정보를 API에 맞춰 업데이트
Browse files Browse the repository at this point in the history
[#61]
  • Loading branch information
sunub committed Dec 5, 2024
1 parent 1d35890 commit 47743cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/schemas/users/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const responseUserInfoSchema = z.object({
role: z.enum(USER_ROLE),
nickname: z.string().min(2, "닉네임은 2자 이상이어야 합니다."),
duck: z.coerce.number().int().nonnegative(),
realDuck: z.coerce.number().int().nonnegative(),
});

export const rejectResponseSchema = commonUserSchema;

0 comments on commit 47743cc

Please sign in to comment.