From 56d4788264ce2739f5dc89f85f309b69cb3ab692 Mon Sep 17 00:00:00 2001 From: Maxime Brugidou Date: Mon, 9 Dec 2013 11:07:32 +0100 Subject: [PATCH] Add import_url param in API projects create --- lib/api/projects.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 003533fb59a..66e0d1ba3ef 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -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?