Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/integrations/has_web_hook.rb')
-rw-r--r--app/models/concerns/integrations/has_web_hook.rb2
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.