Add some fixes
This commit is contained in:
parent
470b3a482a
commit
ab2c6cc01f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue