summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index c4d9cd96960..851e54c59b7 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -42,7 +42,8 @@ module Gitlab
:issues_enabled,
:wall_enabled,
:merge_requests_enabled,
- :wiki_enabled]
+ :wiki_enabled
+ :namespace_id]
@project = ::Projects::CreateContext.new(current_user, attrs).execute
if @project.saved?
present @project, with: Entities::Project