feat: resolved slack failing and approval url correction

This commit is contained in:
=
2025-01-06 19:18:10 +05:30
parent b7d11444a9
commit 30d66cef89
6 changed files with 6 additions and 10 deletions
+1 -5
View File
@@ -332,11 +332,7 @@ export const registerSlackRouter = async (server: FastifyZodProvider) => {
return res.redirect(appCfg.SITE_URL as string);
},
successAsync: async (installation) => {
const metadata = JSON.parse(installation.metadata || "") as {
orgId: string;
};
return res.redirect(`${appCfg.SITE_URL}/org/${metadata.orgId}/settings?selectedTab=workflow-integrations`);
return res.redirect(`${appCfg.SITE_URL}/organization/settings?selectedTab=workflow-integrations`);
}
});
}