feat: Update the slack integration-flow to allow users to select the channel (#7637)

This commit is contained in:
Pranav Raj S
2023-07-28 14:50:30 -07:00
committed by GitHub
parent 4d8ba0148c
commit 9ddd428935
28 changed files with 593 additions and 131 deletions

View File

@@ -1,2 +1 @@
json.id @hook.app_id
json.enabled true
json.partial! 'api/v1/models/app', formats: [:json], resource: @hook.app

View File

@@ -0,0 +1,4 @@
json.array! @channels do |channel|
json.id channel['id']
json.name channel['name']
end

View File

@@ -0,0 +1 @@
json.partial! 'api/v1/models/app', formats: [:json], resource: @hook.app