diff options
Diffstat (limited to 'app/models/integrations/base_ci.rb')
-rw-r--r-- | app/models/integrations/base_ci.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/integrations/base_ci.rb b/app/models/integrations/base_ci.rb index 4f8732da703..db29f228e60 100644 --- a/app/models/integrations/base_ci.rb +++ b/app/models/integrations/base_ci.rb @@ -5,7 +5,7 @@ # working with GitLab merge requests module Integrations class BaseCi < Integration - default_value_for :category, 'ci' + attribute :category, default: 'ci' def valid_token?(token) self.respond_to?(:token) && self.token.present? && ActiveSupport::SecurityUtils.secure_compare(token, self.token) |