diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 00:09:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 00:09:27 +0300 |
commit | c9bef85d79791d41292d2f0727eb362034ebba1e (patch) | |
tree | cb35ec5eb6a83c5d311c8b61ea213450972d8026 /app/services/base_service.rb | |
parent | 6463521e08b00e62d3c877aefd8517f5387d54ab (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/base_service.rb')
-rw-r--r-- | app/services/base_service.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/services/base_service.rb b/app/services/base_service.rb index b4c4b6980a8..20dfeb67815 100644 --- a/app/services/base_service.rb +++ b/app/services/base_service.rb @@ -15,7 +15,9 @@ class BaseService attr_accessor :project, :current_user, :params def initialize(project, user = nil, params = {}) - @project, @current_user, @params = project, user, params.dup + @project = project + @current_user = user + @params = params.dup end delegate :repository, to: :project |