summaryrefslogtreecommitdiff
path: root/lib/gitlab/cycle_analytics/code_event_fetcher.rb
diff options
context:
space:
mode:
authorMałgorzata Ksionek <mksionek@gitlab.com>2019-07-10 13:22:29 +0200
committerMałgorzata Ksionek <mksionek@gitlab.com>2019-07-10 13:22:29 +0200
commit198df06fea84625732b200e7a97a53f3d38d6777 (patch)
tree698eaa22db517b19d1c9408152f2cc9d404e6230 /lib/gitlab/cycle_analytics/code_event_fetcher.rb
parent2d283dd4035e1b09525ba681b65987abad3d152a (diff)
downloadgitlab-ce-198df06fea84625732b200e7a97a53f3d38d6777.tar.gz
Add attribute reader
Diffstat (limited to 'lib/gitlab/cycle_analytics/code_event_fetcher.rb')
-rw-r--r--lib/gitlab/cycle_analytics/code_event_fetcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/cycle_analytics/code_event_fetcher.rb b/lib/gitlab/cycle_analytics/code_event_fetcher.rb
index 6c348f1862d..9e7ca529579 100644
--- a/lib/gitlab/cycle_analytics/code_event_fetcher.rb
+++ b/lib/gitlab/cycle_analytics/code_event_fetcher.rb
@@ -20,7 +20,7 @@ module Gitlab
private
def serialize(event)
- AnalyticsMergeRequestSerializer.new(project: @project).represent(event)
+ AnalyticsMergeRequestSerializer.new(project: project).represent(event)
end
def allowed_ids_finder_class