Commit 62562e4d0db61551afe16de702a6d1627df9592c
Exists in
master
and in
4 other branches
Merge pull request #3119 from m4tthumphrey/patch-1
Add namespace_id to project creation via API
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
lib/api/projects.rb
... | ... | @@ -42,7 +42,8 @@ module Gitlab |
42 | 42 | :issues_enabled, |
43 | 43 | :wall_enabled, |
44 | 44 | :merge_requests_enabled, |
45 | - :wiki_enabled] | |
45 | + :wiki_enabled, | |
46 | + :namespace_id] | |
46 | 47 | @project = ::Projects::CreateContext.new(current_user, attrs).execute |
47 | 48 | if @project.saved? |
48 | 49 | present @project, with: Entities::Project | ... | ... |