diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-14 15:11:15 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-14 15:11:15 +0100 |
commit | 01a407001d2b8400426f79db0762bb91e7b178f0 (patch) | |
tree | bcef1fc672d55ebd871ed4d36807432295e7a861 /lib/api/entities.rb | |
parent | 56a45b0962b5ba61d69c2d2e8641664f37b3d686 (diff) | |
download | gitlab-ce-ci/api-extend-commits.tar.gz |
Move `status` field back directly to commit data in APIci/api-extend-commits
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 5ab82ebaa5f..f5776900b42 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -132,7 +132,6 @@ module API end class RepoCommitLastBuild < Grape::Entity - expose :status expose :started_at expose :finished_at expose :duration @@ -141,6 +140,7 @@ module API class RepoCommitDetail < RepoCommit expose :parent_ids, :committed_date, :authored_date + expose :status expose :ci_commit, as: :last_build, with: Entities::RepoCommitLastBuild end |