diff --git a/extensions/mattermost/src/mattermost/monitor-websocket.ts b/extensions/mattermost/src/mattermost/monitor-websocket.ts index 5c4b89316dc..5ab178bb82d 100644 --- a/extensions/mattermost/src/mattermost/monitor-websocket.ts +++ b/extensions/mattermost/src/mattermost/monitor-websocket.ts @@ -36,7 +36,10 @@ export type MattermostWebSocketLike = { export type MattermostWebSocketFactory = (url: string) => MattermostWebSocketLike; -const MattermostPostSchema = z.record(z.string(), z.unknown()) as unknown as z.ZodType; +const MattermostPostSchema = z.record( + z.string(), + z.unknown(), +) as unknown as z.ZodType; const MattermostEventPayloadSchema = z.object({ event: z.string().optional(),