BigW Consortium Gitlab

Commit ab2c6cc0 by Tomasz Maczukin

Add some fixes

parent 470b3a48
......@@ -54,7 +54,6 @@ module API
mount Keys
mount Tags
mount Triggers
mount Builds
end
end
......@@ -377,7 +377,7 @@ module API
class Build < Grape::Entity
expose :id, :status, :stage, :name, :ref, :tag, :coverage
expose :created_at, :started_at, :finished_at
expose :user, with: UserFull
expose :user, with: User
expose :download_url do |repo_obj, options|
if options[:user_can_download_artifacts]
repo_obj.download_url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment