diff options
Diffstat (limited to 'app/models/hooks/service_hook.rb')
-rw-r--r-- | app/models/hooks/service_hook.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/hooks/service_hook.rb b/app/models/hooks/service_hook.rb index 453b986ca4d..b1f1ab79b6a 100644 --- a/app/models/hooks/service_hook.rb +++ b/app/models/hooks/service_hook.rb @@ -5,6 +5,8 @@ class ServiceHook < WebHook extend ::Gitlab::Utils::Override + self.allow_legacy_sti_class = true + belongs_to :integration validates :integration, presence: true |