BigW Consortium Gitlab

Commit 56d47882 by Maxime Brugidou

Add import_url param in API projects create

parent 31cdb7a4
...@@ -99,7 +99,8 @@ module API ...@@ -99,7 +99,8 @@ module API
:snippets_enabled, :snippets_enabled,
:namespace_id, :namespace_id,
:public, :public,
:visibility_level] :visibility_level,
:import_url]
attrs = map_public_to_visibility_level(attrs) attrs = map_public_to_visibility_level(attrs)
@project = ::Projects::CreateContext.new(current_user, attrs).execute @project = ::Projects::CreateContext.new(current_user, attrs).execute
if @project.saved? if @project.saved?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment