summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-03-04 14:28:48 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2019-03-04 17:44:57 +0100
commit3f629b8d147b755a9303b67395372630aacbafb5 (patch)
tree6d44acaa3050874c2ddbb17add3d8d67d39d55c5 /lib
parent85f11eff9b588c7252ea39ad73ac9c70e0e736bb (diff)
downloadgitlab-ce-3f629b8d147b755a9303b67395372630aacbafb5.tar.gz
Update Triggers documentation per EE
This backports a line from EE so that both the CE and EE code are identical.
Diffstat (limited to 'lib')
-rw-r--r--lib/api/triggers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/triggers.rb b/lib/api/triggers.rb
index 8fc7c7361e1..0e829c5699b 100644
--- a/lib/api/triggers.rb
+++ b/lib/api/triggers.rb
@@ -13,7 +13,7 @@ module API
end
params do
requires :ref, type: String, desc: 'The commit sha or name of a branch or tag', allow_blank: false
- requires :token, type: String, desc: 'The unique token of trigger'
+ requires :token, type: String, desc: 'The unique token of trigger or job token'
optional :variables, type: Hash, desc: 'The list of variables to be injected into build'
end
post ":id/(ref/:ref/)trigger/pipeline", requirements: { ref: /.+/ } do