summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLemures Lemniscati <lemures.lemniscati@gmail.com>2016-10-09 22:42:11 +0900
committerLemures Lemniscati <lemures.lemniscati@gmail.com>2016-10-09 22:42:11 +0900
commitef7f16faaa2e640d7b5453174c1af72decd08217 (patch)
treed0ad7d4a527b742be7b628005aa4b865886fb356
parent4e963fed42ad518caa7353d361a38a1250c99c41 (diff)
downloadgitlab-ce-ef7f16faaa2e640d7b5453174c1af72decd08217.tar.gz
Fix a typo in doc/api/labels.md
-rw-r--r--CHANGELOG1
-rw-r--r--doc/api/labels.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index caa84707cfb..07f2e4ee1f4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -77,6 +77,7 @@ v 8.13.0 (unreleased)
- Retouch environments list and deployments list
- Add Container Registry on/off status to Admin Area !6638 (the-undefined)
- Grouped pipeline dropdown is a scrollable container
+ - Fix a typo in doc/api/labels.md
v 8.12.5 (unreleased)
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 |