Add import_url param in API projects create
This commit is contained in:
parent
31cdb7a405
commit
56d4788264
1 changed files with 2 additions and 1 deletions
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue