diff options
author | Rémy Coutable <remy@rymai.me> | 2018-07-16 18:29:14 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-07-16 18:29:14 +0000 |
commit | 7f0431dd8550ac9d229d1383c03386c1634d015f (patch) | |
tree | ed4e1e1ed3964d180d51460f14aa35a53834c8c8 /lib/api/projects.rb | |
parent | c82adcce6b21272d3d9c8cee541ed03e60e65439 (diff) | |
parent | 209fd86442930ffd398849e386d9d13e699799c7 (diff) | |
download | gitlab-ce-7f0431dd8550ac9d229d1383c03386c1634d015f.tar.gz |
Merge branch 'fix-project-api-archived' into 'master'
Fix archived parameter for projects API
Closes #32301
See merge request gitlab-org/gitlab-ce!20566
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 8273abe48c9..0888e3befac 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -30,7 +30,7 @@ module API end params :filter_params do - optional :archived, type: Boolean, default: false, desc: 'Limit by archived status' + optional :archived, type: Boolean, desc: 'Limit by archived status' optional :visibility, type: String, values: Gitlab::VisibilityLevel.string_values, desc: 'Limit by visibility' optional :search, type: String, desc: 'Return list of projects matching the search criteria' |