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
path: root/lib/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-07 00:07:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-07 00:07:54 +0300
commit99ddca0d88f1e4e49d61b1aa9d41b5785528d1dc (patch)
tree556577b458832ebbc43b299e5bf436adf8b1c606 /lib/api
parente1867c38fc5a4b931b4b2256d4909182e94f1051 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/services.rb2
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