summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorJason Goodman <jgoodman@gitlab.com>2019-07-16 11:47:46 +0000
committerMarcia Ramos <marcia@gitlab.com>2019-07-16 11:47:46 +0000
commitd4ffcb69e69bce4d25ff1f61068da283ca84434e (patch)
treeee2b5c43ec7c84e3d804a6b6061cc4223f7f42d2 /lib/api
parente3c57e1c50df9253aa03ba77df23a83e68844366 (diff)
downloadgitlab-ce-d4ffcb69e69bce4d25ff1f61068da283ca84434e.tar.gz
Update Release API docs
Include released_at parameter
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/releases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/releases.rb b/lib/api/releases.rb
index fdd8406388e..7a3d804c30c 100644
--- a/lib/api/releases.rb
+++ b/lib/api/releases.rb
@@ -78,7 +78,7 @@ module API
requires :tag_name, type: String, desc: 'The name of the tag', as: :tag
optional :name, type: String, desc: 'The name of the release'
optional :description, type: String, desc: 'Release notes with markdown support'
- optional :released_at, type: DateTime, desc: 'The date when the release will be/was ready. Defaults to the current time.'
+ optional :released_at, type: DateTime, desc: 'The date when the release will be/was ready.'
end
put ':id/releases/:tag_name', requirements: RELEASE_ENDPOINT_REQUIREMETS do
authorize_update_release!