mirror of https://github.com/buster-so/buster.git
fix(slack): include status field in integration API response
- Add missing status field to GET /api/v2/slack/integration response - Ensures 're_install_required' status reaches the UI for yellow button display - Critical fix for scope validation feature to work end-to-end Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
This commit is contained in:
parent
55af2727a1
commit
623aaf2fb1
|
@ -247,6 +247,7 @@ export class SlackHandler {
|
|||
|
||||
return c.json<GetIntegrationResponse>({
|
||||
connected: status.connected,
|
||||
status: status.status,
|
||||
integration: status.integration
|
||||
? {
|
||||
id: status.integration.id,
|
||||
|
|
Loading…
Reference in New Issue