diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-16 00:06:14 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-11-16 00:06:14 +0000 |
commit | 07d7b8f58c63ddc55b005daeb0910d31970b3d88 (patch) | |
tree | 13d2a56938eed8e6d083b648e394d78d67bedf23 /lib | |
parent | ae50a43c43229442e5ccef4034d62df8a3c36cbc (diff) | |
download | gitlab-ce-07d7b8f58c63ddc55b005daeb0910d31970b3d88.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/deployments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/deployments.rb b/lib/api/deployments.rb index da882547071..f97200f20b9 100644 --- a/lib/api/deployments.rb +++ b/lib/api/deployments.rb @@ -17,7 +17,7 @@ module API end params do use :pagination - optional :order_by, type: String, values: %w[id iid created_at ref], default: 'id', desc: 'Return deployments ordered by `id` or `iid` or `created_at` or `ref`' + optional :order_by, type: String, values: %w[id iid created_at updated_at ref], default: 'id', desc: 'Return deployments ordered by `id` or `iid` or `created_at` or `updated_at` or `ref`' optional :sort, type: String, values: %w[asc desc], default: 'asc', desc: 'Sort by asc (ascending) or desc (descending)' end # rubocop: disable CodeReuse/ActiveRecord |