Merge pull request #3119 from m4tthumphrey/patch-1
Add namespace_id to project creation via API
This commit is contained in:
commit
62562e4d0d
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ 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