fix: broken integration

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-22 17:18:49 +02:00
parent 49a4f5b8ae
commit e3d3627c16
6 changed files with 9 additions and 10 deletions

View File

@@ -25,8 +25,7 @@ export const slackInstaller = SLACK_CLIENT_ID
export const getSlackInstallUrl = ({
integrationId,
organizationId,
projectId,
}: { integrationId: string; organizationId: string; projectId: string }) => {
}: { integrationId: string; organizationId: string }) => {
if (!SLACK_CLIENT_ID) {
throw new Error('SLACK_CLIENT_ID is not set (slack.ts)');
}
@@ -38,7 +37,7 @@ export const getSlackInstallUrl = ({
'team:read',
],
redirectUri: SLACK_OAUTH_REDIRECT_URL,
metadata: JSON.stringify({ integrationId, organizationId, projectId }),
metadata: JSON.stringify({ integrationId, organizationId }),
});
};