Commit 19bfdcf4 authored by James Lopez's avatar James Lopez
Browse files

fix import data creation

parent b07be5d0a7df
......@@ -420,9 +420,8 @@ def import_url
end
def create_or_update_import_data(credentials)
project_import_data = import_data || ProjectImportData.new
project_import_data = import_data || build_import_data
project_import_data.credentials = credentials
project_import_data.project_id = id
project_import_data.save
end
......
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