fix: add back optional
This commit is contained in:
1 parent
372b20a4c9
commit
1bde5d88c1
1 file changed
+1
-1
@@ -7,7 +7,7 @@ import { stringOrNumber } from "@calcom/prisma/zod-utils";
|
||||
|
||||
const availabilitySchema = z
|
||||
.object({
|
||||
userId: stringOrNumber,
|
||||
userId: stringOrNumber.optional(),
|
||||
username: z.string().optional(),
|
||||
dateFrom: z.string(),
|
||||
dateTo: z.string(),
|
||||
|
||||
Reference in new issue
Block a user