chore: Update dependencies (#1173)

This commit is contained in:
Sojan Jose
2020-09-08 11:24:08 +05:30
committed by GitHub
parent 3ffb29bf4e
commit ac5d755545
33 changed files with 134 additions and 150 deletions

View File

@@ -46,7 +46,7 @@ class Integrations::App
def enabled?(account)
case params[:id]
when 'slack'
account.hooks.where(app_id: id).exists?
account.hooks.exists?(app_id: id)
else
true
end