diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-28 12:10:41 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-28 12:10:41 +0000 |
commit | b1e352740bd52771b419829abef0a0ad73141ac1 (patch) | |
tree | e86202376eb85b6314ab90fe028c0889098b05ef /lib/api | |
parent | aeee5b6a212eafefe3c994fb3731ccfca590a6ba (diff) | |
download | gitlab-ce-b1e352740bd52771b419829abef0a0ad73141ac1.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/pypi_packages.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/pypi_packages.rb b/lib/api/pypi_packages.rb index 7c5f8bb4d99..8dd1631ebf8 100644 --- a/lib/api/pypi_packages.rb +++ b/lib/api/pypi_packages.rb @@ -40,7 +40,7 @@ module API end params do - requires :id, type: Integer, desc: 'The ID of a group' + requires :id, type: String, desc: 'The ID of a group' end resource :groups, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do after_validation do @@ -96,7 +96,7 @@ module API end params do - requires :id, type: Integer, desc: 'The ID of a project' + requires :id, type: String, desc: 'The ID of a project' end resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do |