Fixes api
This commit is contained in:
parent
61cfa2a7a6
commit
cce35b6d05
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ module Gitlab
|
||||||
:issues_enabled,
|
:issues_enabled,
|
||||||
:wall_enabled,
|
:wall_enabled,
|
||||||
:merge_requests_enabled,
|
:merge_requests_enabled,
|
||||||
:wiki_enabled,
|
:wiki_enabled]
|
||||||
:namespace_id]
|
|
||||||
@project = ::Projects::CreateContext.new(current_user, attrs).execute
|
@project = ::Projects::CreateContext.new(current_user, attrs).execute
|
||||||
if @project.saved?
|
if @project.saved?
|
||||||
present @project, with: Entities::Project
|
present @project, with: Entities::Project
|
||||||
|
|
Loading…
Reference in a new issue