Merge pull request #3003 from livedata/patch-1
fixed API access to the project
This commit is contained in:
commit
c3a5aa159a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module Gitlab
|
||||||
class Project < Grape::Entity
|
class Project < Grape::Entity
|
||||||
expose :id, :name, :description, :default_branch
|
expose :id, :name, :description, :default_branch
|
||||||
expose :owner, using: Entities::UserBasic
|
expose :owner, using: Entities::UserBasic
|
||||||
expose :private_flag, as: :private
|
expose :public, as: :private
|
||||||
expose :path, :path_with_namespace
|
expose :path, :path_with_namespace
|
||||||
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
|
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
|
||||||
expose :namespace
|
expose :namespace
|
||||||
|
|
Loading…
Reference in a new issue