fix: send totalPrice to create booking
This commit is contained in:
@@ -32,6 +32,7 @@ const roomsSchema = z.array(
|
||||
petFriendly: z.boolean(),
|
||||
accessibility: z.boolean(),
|
||||
}),
|
||||
roomPrice: z.number().or(z.string().transform((val) => Number(val))),
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user