diff options
Diffstat (limited to 'lib/api/deployments.rb')
| -rw-r--r-- | lib/api/deployments.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/deployments.rb b/lib/api/deployments.rb index 46b936897f6..1efee9a1324 100644 --- a/lib/api/deployments.rb +++ b/lib/api/deployments.rb @@ -8,7 +8,7 @@ module API      params do        requires :id, type: String, desc: 'The project ID'      end -    resource :projects, requirements: { id: %r{[^/]+} } do +    resource :projects, requirements: API::PROJECT_ENDPOINT_REQUIREMENTS do        desc 'Get all deployments of the project' do          detail 'This feature was introduced in GitLab 8.11.'          success Entities::Deployment  | 
