chore:little fixes and formating and linting and patches
This commit is contained in:
@@ -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)');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user