From f1f10cea88c863760964fc02afa265b3fb784968 Mon Sep 17 00:00:00 2001 From: Sojan Date: Wed, 12 Mar 2025 01:02:13 -0700 Subject: [PATCH] chore: spec fixes --- app/models/integrations/hook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/integrations/hook.rb b/app/models/integrations/hook.rb index 61a19874c..2046d09da 100644 --- a/app/models/integrations/hook.rb +++ b/app/models/integrations/hook.rb @@ -64,7 +64,7 @@ class Integrations::Hook < ApplicationRecord private def ensure_hook_type - self.hook_type = app.params[:hook_type] if app.present? + self.hook_type ||= app.params[:hook_type] if app.present? end def validate_settings_json_schema