Skip to content

Commit

Permalink
fix: google user schema
Browse files Browse the repository at this point in the history
  • Loading branch information
arsaizdihar committed Jun 2, 2024
1 parent ea8f807 commit 0a3c241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/login.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export const GoogleUserSchema = z.object({
picture: z.string(),
email: z.string(),
email_verified: z.string().optional(),
locale: z.string(),
hd: z.string(),
locale: z.string().optional(),
hd: z.string().optional(),
});

export const JWTPayloadSchema = UserSchema.omit({
Expand Down

0 comments on commit 0a3c241

Please sign in to comment.