From 6088ae09abc5f9e5a9ff47ea8eed513656eeb74b Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Fri, 25 Apr 2025 04:40:46 +0400 Subject: [PATCH] fix: cleanup --- backend/src/server/routes/index.ts | 4 +++- backend/src/services/slack/slack-fns.ts | 3 --- frontend/src/index.css | 16 ---------------- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/backend/src/server/routes/index.ts b/backend/src/server/routes/index.ts index cd6fe41be..100aab07a 100644 --- a/backend/src/server/routes/index.ts +++ b/backend/src/server/routes/index.ts @@ -1134,7 +1134,9 @@ export const registerRoutes = async ( userDAL, licenseService, projectSlackConfigDAL, - resourceMetadataDAL + resourceMetadataDAL, + projectMicrosoftTeamsConfigDAL, + microsoftTeamsService }); const secretService = secretServiceFactory({ diff --git a/backend/src/services/slack/slack-fns.ts b/backend/src/services/slack/slack-fns.ts index 8419439b1..d4f5e29cc 100644 --- a/backend/src/services/slack/slack-fns.ts +++ b/backend/src/services/slack/slack-fns.ts @@ -5,10 +5,7 @@ import { BadRequestError } from "@app/lib/errors"; import { logger } from "@app/lib/logger"; import { TNotification, TriggerFeature } from "@app/lib/workflow-integrations/types"; -import { TKmsServiceFactory } from "../kms/kms-service"; import { KmsDataKey } from "../kms/kms-types"; -import { TProjectDALFactory } from "../project/project-dal"; -import { TProjectSlackConfigDALFactory } from "./project-slack-config-dal"; import { TSendSlackNotificationDTO } from "./slack-types"; export const fetchSlackChannels = async (botKey: string) => { diff --git a/frontend/src/index.css b/frontend/src/index.css index b1b3077e1..3b00a91da 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -197,20 +197,4 @@ html { position: absolute; top: 0.5rem; @apply text-sm text-gray-500 opacity-50; -} - -.accordion { - display: grid; - grid-template-rows: 0fr; - overflow: hidden; - transition: grid-template-rows 200ms ease !important; - animation: unset; -} - -.accordion[data-state="open"] { - grid-template-rows: 1fr; -} - -.accordion > div { - min-height: 0px; } \ No newline at end of file