diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-07 00:07:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-07 00:07:54 +0300 |
commit | 99ddca0d88f1e4e49d61b1aa9d41b5785528d1dc (patch) | |
tree | 556577b458832ebbc43b299e5bf436adf8b1c606 /lib/api | |
parent | e1867c38fc5a4b931b4b2256d4909182e94f1051 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/services.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb index aa5354e20c3..03c51f65172 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -115,7 +115,7 @@ module API end get ":id/services/:service_slug" do service = user_project.find_or_initialize_service(params[:service_slug].underscore) - present service, with: Entities::ProjectService, include_passwords: current_user.admin? + present service, with: Entities::ProjectService end end |