BigW Consortium Gitlab

Commit f4ab8ea4 by James Lopez

rename method

parent ef7f793d
...@@ -50,7 +50,7 @@ module Projects ...@@ -50,7 +50,7 @@ module Projects
@project.build_forked_project_link(forked_from_project_id: forked_from_project_id) @project.build_forked_project_link(forked_from_project_id: forked_from_project_id)
end end
process_import_data(import_data) save_project_and_import_data(import_data)
start_import if @project.import? start_import if @project.import?
...@@ -100,7 +100,7 @@ module Projects ...@@ -100,7 +100,7 @@ module Projects
end end
end end
def process_import_data(import_data) def save_project_and_import_data(import_data)
Project.transaction do Project.transaction do
@project.create_or_update_import_data(data: import_data[:data], credentials: import_data[:credentials]) if import_data @project.create_or_update_import_data(data: import_data[:data], credentials: import_data[:credentials]) if import_data
@project.save @project.save
......
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