Commit c3a5aa159ae5739fd7c226c6db9f567d376c8acd
Exists in
master
and in
4 other branches
Merge pull request #3003 from livedata/patch-1
fixed API access to the project
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/api/entities.rb
... | ... | @@ -20,7 +20,7 @@ module Gitlab |
20 | 20 | class Project < Grape::Entity |
21 | 21 | expose :id, :name, :description, :default_branch |
22 | 22 | expose :owner, using: Entities::UserBasic |
23 | - expose :private_flag, as: :private | |
23 | + expose :public, as: :private | |
24 | 24 | expose :path, :path_with_namespace |
25 | 25 | expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at |
26 | 26 | expose :namespace | ... | ... |