Skip to content
Snippets Groups Projects
Commit 67465dc5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix private flag for project

parent 5d72a3e1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,7 +21,7 @@ GET /projects
"blocked": false,
"created_at": "2012-05-23T08:00:58Z"
},
"private": true,
"public": true,
"path": "rails",
"path_with_namespace": "rails/rails",
"issues_enabled": false,
Loading
Loading
@@ -43,7 +43,7 @@ GET /projects
"blocked": false,
"created_at": "2012-05-23T08:00:58Z"
},
"private": true,
"public": true,
"path": "gitlab",
"path_with_namespace": "randx/gitlab",
"issues_enabled": true,
Loading
Loading
@@ -81,7 +81,7 @@ Parameters:
"blocked": false,
"created_at": "2012-05-23T08:00:58Z"
},
"private": true,
"public": true,
"path": "gitlab",
"path_with_namespace": "randx/gitlab",
"issues_enabled": true,
Loading
Loading
Loading
Loading
@@ -20,7 +20,7 @@ module Gitlab
class Project < Grape::Entity
expose :id, :name, :description, :default_branch
expose :owner, using: Entities::UserBasic
expose :public, as: :private
expose :public
expose :path, :path_with_namespace
expose :issues_enabled, :merge_requests_enabled, :wall_enabled, :wiki_enabled, :created_at
expose :namespace
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment