fix: Handle PermissionDeniedError for Dialogflow processor (#8252)
This commit is contained in:
@@ -43,6 +43,10 @@ class Integrations::Hook < ApplicationRecord
|
||||
app_id == 'slack'
|
||||
end
|
||||
|
||||
def dialogflow?
|
||||
app_id == 'dialogflow'
|
||||
end
|
||||
|
||||
def disable
|
||||
update(status: 'disabled')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user