Commit bbd1bfd1558c32a4210a554e5e6fcc35d58e4052

Authored by livedata
1 parent f9dd547a

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,7 +20,7 @@ module Gitlab
20 class Project < Grape::Entity 20 class Project < Grape::Entity
21 expose :id, :name, :description, :default_branch 21 expose :id, :name, :description, :default_branch
22 expose :owner, using: Entities::UserBasic 22 expose :owner, using: Entities::UserBasic
23 - expose :private_flag, as: :private 23 + expose :public, as: :private
24 expose :path, :path_with_namespace 24 expose :path, :path_with_namespace
25 expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at 25 expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
26 expose :namespace 26 expose :namespace