Skip to content

Commit

Permalink
fix: remove email validation from driver email field
Browse files Browse the repository at this point in the history
  • Loading branch information
braaar committed Dec 15, 2023
1 parent 316aa87 commit 5b182bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calls/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const driverSchema = z.object({
external_id: z.string().optional(),
name: z.string().optional(),
phone_number: z.string().optional(),
email: z.string().email().optional(),
email: z.string().optional(),
});

export const vehicleCommercialClassSchema = z.enum([
Expand Down

0 comments on commit 5b182bb

Please sign in to comment.