diff options
| author | Rémy Coutable <remy@rymai.me> | 2019-01-16 13:09:29 +0100 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2019-01-24 13:05:45 +0100 |
| commit | 3a2abc1d50b419a353edb7f7cf68f3894dfdeeef (patch) | |
| tree | 98fc575139997113d9074dde16a9689cb2ab8e31 /lib/api/labels.rb | |
| parent | 16ab0050f6f1544eb717da34975f12861df37c9c (diff) | |
| download | gitlab-ce-3a2abc1d50b419a353edb7f7cf68f3894dfdeeef.tar.gz | |
Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/api/labels.rb')
| -rw-r--r-- | lib/api/labels.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/labels.rb b/lib/api/labels.rb index 2e676b0aa6b..d5eb2b94669 100644 --- a/lib/api/labels.rb +++ b/lib/api/labels.rb @@ -69,7 +69,7 @@ module API success Entities::Label end params do - requires :name, type: String, desc: 'The name of the label to be updated' + requires :name, type: String, desc: 'The name of the label to be updated' optional :new_name, type: String, desc: 'The new name of the label' optional :color, type: String, desc: "The new color of the label given in 6-digit hex notation with leading '#' sign (e.g. #FFAABB) or one of the allowed CSS color names" optional :description, type: String, desc: 'The new description of label' |
