Commit bbd1bfd1 authored by livedata's avatar livedata
Browse files

fixed API access to the project

parent 0f94a1ca07ee
......@@ -20,7 +20,7 @@ class Hook < Grape::Entity
class Project < Grape::Entity
expose :id, :name, :description, :default_branch
expose :owner, using: Entities::UserBasic
expose :private_flag, as: :private
expose :public, as: :private
expose :path, :path_with_namespace
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
expose :namespace
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment