From d8f1f55a801c5a68f9b04f76a158b3f1ca6c88b3 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 6 Aug 2023 11:09:22 -0400 Subject: [PATCH] fix: type is optional input for integrations.list endpoint --- server/routes/api/integrations/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/api/integrations/schema.ts b/server/routes/api/integrations/schema.ts index 4b9377f96..657194e40 100644 --- a/server/routes/api/integrations/schema.ts +++ b/server/routes/api/integrations/schema.ts @@ -21,7 +21,7 @@ export const IntegrationsListSchema = BaseSchema.extend({ .default("updatedAt"), /** Integration type */ - type: z.nativeEnum(IntegrationType), + type: z.nativeEnum(IntegrationType).optional(), }), });