summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-19 22:24:31 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-30 23:55:09 +0900
commitbfa028e13a41b16b0da2d69359694edbebf9e455 (patch)
tree61d8f8fc1870a512dc68be259d5f5344790650c1 /lib/api/entities.rb
parentf6a8894a5928e1cc37d8301c555fcfd5953cc180 (diff)
downloadgitlab-ce-bfa028e13a41b16b0da2d69359694edbebf9e455.tar.gz
Remove deleted_at from Entity. Use find_by. Remove returns.
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index d779cd2a294..40ef62fdb14 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -689,7 +689,7 @@ module API
class PipelineSchedule < Grape::Entity
expose :id
expose :description, :ref, :cron, :cron_timezone, :next_run_at, :active
- expose :created_at, :updated_at, :deleted_at
+ expose :created_at, :updated_at
expose :last_pipeline, using: Entities::PipelineBasic, if: { type: :full }
expose :owner, using: Entities::UserBasic
end