fix: Handle PermissionDeniedError for Dialogflow processor (#8252)

This commit is contained in:
Pranav Raj S
2023-10-30 13:24:03 -07:00
committed by GitHub
parent 013dab7da6
commit 653e0335c0
8 changed files with 82 additions and 20 deletions

View File

@@ -43,6 +43,10 @@ class Integrations::Hook < ApplicationRecord
app_id == 'slack'
end
def dialogflow?
app_id == 'dialogflow'
end
def disable
update(status: 'disabled')
end