diff options
Diffstat (limited to 'app/models/concerns/integrations/has_web_hook.rb')
-rw-r--r-- | app/models/concerns/integrations/has_web_hook.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/integrations/has_web_hook.rb b/app/models/concerns/integrations/has_web_hook.rb index 5fd71f3d72f..e622faf4a51 100644 --- a/app/models/concerns/integrations/has_web_hook.rb +++ b/app/models/concerns/integrations/has_web_hook.rb @@ -6,7 +6,7 @@ module Integrations included do after_save :update_web_hook!, if: :activated? - has_one :service_hook, inverse_of: :integration, foreign_key: :service_id + has_one :service_hook, inverse_of: :integration, foreign_key: :integration_id end # Return the URL to be used for the webhook. |