diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2018-02-20 18:20:14 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2018-02-20 20:05:12 +0100 |
commit | e8fc5dd89d503f83e4ce707c3051008c54720027 (patch) | |
tree | 0474a772713bb5d721c02f15f8675adb57a69c25 /lib/api/projects.rb | |
parent | 81add16e67aabaf907365c8061019b371d20ec3b (diff) | |
download | gitlab-ce-api-fix-archived.tar.gz |
API: Fix archived parameter for projects APIapi-fix-archived
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 e90892a90f7..24806dd72b6 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -55,7 +55,7 @@ module API end params :filter_params do - optional :archived, type: Boolean, default: false, desc: 'Limit by archived status' + optional :archived, type: Boolean, default: nil, 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' |