diff --git a/ui/api/messages.ts b/ui/api/messages.ts index 4907bfb9d..096628ec3 100644 --- a/ui/api/messages.ts +++ b/ui/api/messages.ts @@ -18,7 +18,7 @@ const MessageSchema = z.object({ }), }); const MessageApiResponse = z.object({ - meta: z.object({}).nullable(), + meta: z.object({}).nullable().optional(), data: z.array(MessageSchema), }); export type Message = z.infer;