BigW Consortium Gitlab

Commit 19bfdcf4 by James Lopez

fix import data creation

parent ced56641
......@@ -420,9 +420,8 @@ class Project < ActiveRecord::Base
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