fix: broken integration
This commit is contained in:
@@ -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 }),
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user