summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2019-01-31 11:13:23 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2019-01-31 11:13:23 +0100
commita612bd070862097893103c4babc63df9ad45b214 (patch)
treea16a646706d9a729badd836da0824eb0ba5121b5 /lib/api/projects.rb
parent33200ed6904b00fc6c24363e29f4a8de895fb6c1 (diff)
downloadgitlab-ce-a612bd070862097893103c4babc63df9ad45b214.tar.gz
Unify user requirements for API slugs
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index d76d5d822b1..3afa2d8a6b0 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -128,7 +128,7 @@ module API
end
end
- resource :users, requirements: { user_id: API::NO_SLASH_URL_PART_REGEX } do
+ resource :users, requirements: API::USER_REQUIREMENTS do
desc 'Get a user projects' do
success Entities::BasicProjectDetails
end