summaryrefslogtreecommitdiff
path: root/lib/api/pipelines.rb
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-14 23:52:17 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-03 02:11:51 +0900
commitd1ca5f46d4268ca3bba7801e581395e038c97129 (patch)
treeaf6c1247bc323b9636d0b441ff1582bd008646fd /lib/api/pipelines.rb
parentd74a04c499d511d6fec8d1f0ddcfc087596b9224 (diff)
downloadgitlab-ce-d1ca5f46d4268ca3bba7801e581395e038c97129.tar.gz
No need to support sha for sorting
Diffstat (limited to 'lib/api/pipelines.rb')
-rw-r--r--lib/api/pipelines.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/pipelines.rb b/lib/api/pipelines.rb
index 7d91900212a..b0f586b08da 100644
--- a/lib/api/pipelines.rb
+++ b/lib/api/pipelines.rb
@@ -22,7 +22,7 @@ module API
optional :yaml_errors, type: Boolean, desc: 'If true, returns only yaml error pipelines'
optional :name, type: String, desc: 'The name of user who triggered pipelines'
optional :username, type: String, desc: 'The username of user who triggered pipelines'
- optional :order_by, type: String, values: %w[id status ref sha user_id], default: 'id',
+ optional :order_by, type: String, values: %w[id status ref user_id], default: 'id',
desc: 'The order_by which is combined with a sort'
optional :sort, type: String, values: %w[asc desc], default: 'desc',
desc: 'The sort method which is combined with an order_by'