Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorLemures Lemniscati <lemures.lemniscati@gmail.com>2016-10-09 16:42:11 +0300
committerLemures Lemniscati <lemures.lemniscati@gmail.com>2016-10-09 16:42:11 +0300
commitef7f16faaa2e640d7b5453174c1af72decd08217 (patch)
treed0ad7d4a527b742be7b628005aa4b865886fb356 /doc/api
parent4e963fed42ad518caa7353d361a38a1250c99c41 (diff)
Fix a typo in doc/api/labels.md
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/labels.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/labels.md b/doc/api/labels.md
index 3653ccf304a..656232cc940 100644
--- a/doc/api/labels.md
+++ b/doc/api/labels.md
@@ -148,7 +148,7 @@ PUT /projects/:id/labels
| --------------- | ------- | --------------------------------- | ------------------------------- |
| `id` | integer | yes | The ID of the project |
| `name` | string | yes | The name of the existing label |
-| `new_name` | string | yes if `color` if not provided | The new name of the label |
+| `new_name` | string | yes if `color` is not provided | The new name of the label |
| `color` | string | yes if `new_name` is not provided | The new color of the label in 6-digit hex notation with leading `#` sign |
| `description` | string | no | The new description of the label |