feat(BOOK-488): Trimming booking code before validating
Approved-by: Bianca Widstam
This commit is contained in:
@@ -51,6 +51,7 @@ export const bookingCodeSchema = z
|
||||
.object({
|
||||
value: z
|
||||
.string()
|
||||
.trim()
|
||||
.refine(
|
||||
(value) =>
|
||||
!value ||
|
||||
|
||||
Reference in New Issue
Block a user