Added optional to password to zoom response (#3422)

This commit is contained in:
alannnc 2022-07-18 13:02:40 -06:00 committed by GitHub
parent df3e3e8237
commit 9861156edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ import { getZoomAppKeys } from "./getZoomAppKeys";
const zoomEventResultSchema = z.object({
id: z.number(),
join_url: z.string(),
password: z.string(),
password: z.string().optional().default(""),
});
export type ZoomEventResult = z.infer<typeof zoomEventResultSchema>;