Skip to content
Snippets Groups Projects
Commit 56d47882 authored by Maxime Brugidou's avatar Maxime Brugidou
Browse files

Add import_url param in API projects create

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