fix: bad request in webhook route (#13008)
This commit is contained in:
parent
c7b62950de
commit
6dec98129c
|
@ -21,16 +21,16 @@ const schema = z
|
||||||
id: z.string(),
|
id: z.string(),
|
||||||
payload: z.object({
|
payload: z.object({
|
||||||
recording_id: z.string(),
|
recording_id: z.string(),
|
||||||
end_ts: z.number(),
|
end_ts: z.number().optional(),
|
||||||
room_name: z.string(),
|
room_name: z.string(),
|
||||||
start_ts: z.number(),
|
start_ts: z.number().optional(),
|
||||||
status: z.string(),
|
status: z.string(),
|
||||||
|
|
||||||
max_participants: z.number(),
|
max_participants: z.number().optional(),
|
||||||
duration: z.number(),
|
duration: z.number().optional(),
|
||||||
s3_key: z.string(),
|
s3_key: z.string().optional(),
|
||||||
}),
|
}),
|
||||||
event_ts: z.number(),
|
event_ts: z.number().optional(),
|
||||||
})
|
})
|
||||||
.passthrough();
|
.passthrough();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user