chore:little fixes and formating and linting and patches

This commit is contained in:
2026-03-31 15:50:54 +02:00
parent a1ce71ffb6
commit 9b197abcfa
815 changed files with 22960 additions and 8982 deletions

View File

@@ -1,7 +1,9 @@
// Cred to (@c_alares) https://github.com/christianalares/seventy-seven/blob/main/packages/integrations/src/slack/index.ts
import * as Slack from '@slack/bolt';
const { LogLevel, App: SlackApp } = Slack;
import { InstallProvider } from '@slack/oauth';
const SLACK_CLIENT_ID = process.env.SLACK_CLIENT_ID;
@@ -25,7 +27,10 @@ export const slackInstaller = SLACK_CLIENT_ID
export const getSlackInstallUrl = ({
integrationId,
organizationId,
}: { integrationId: string; organizationId: string }) => {
}: {
integrationId: string;
organizationId: string;
}) => {
if (!SLACK_CLIENT_ID) {
throw new Error('SLACK_CLIENT_ID is not set (slack.ts)');
}