mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-29 06:26:07 +10:00
Add some fixes
This commit is contained in:
@@ -54,7 +54,6 @@ module API
|
||||
mount Keys
|
||||
mount Tags
|
||||
mount Triggers
|
||||
|
||||
mount Builds
|
||||
end
|
||||
end
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user