diff --git a/server/routes/api/hooks.ts b/server/routes/api/hooks.ts index 3151e7015..55fd4e67e 100644 --- a/server/routes/api/hooks.ts +++ b/server/routes/api/hooks.ts @@ -155,6 +155,7 @@ router.post("hooks.slack", async (ctx) => { where: { name: "slack", providerId: team_id, + enabled: true, }, as: "authenticationProviders", model: AuthenticationProvider,