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/integrations/clickup.rb')
-rw-r--r--app/models/integrations/clickup.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/integrations/clickup.rb b/app/models/integrations/clickup.rb
index 25287b53300..1737aa7ff61 100644
--- a/app/models/integrations/clickup.rb
+++ b/app/models/integrations/clickup.rb
@@ -32,8 +32,8 @@ module Integrations
'clickup'
end
- def fields
- super.select { _1.name.in?(%w[project_url issues_url]) }
+ def self.fields
+ super.select { %w[project_url issues_url].include?(_1.name) }
end
end
end