This instance will be upgraded to Heptapod 0.27.1 on 2021-12-08 at 22:00 UTC+1 (a few minutes of down time)

Commit 350a9aa9 authored by James Lopez's avatar James Lopez
Browse files

fix create_or_update_import_data

parent 710eddaf7f29
......@@ -419,7 +419,10 @@ def import_url
def create_or_update_import_data(data: nil, credentials: nil)
project_import_data = import_data || build_import_data
project_import_data.data = data if data
if data
project_import_data.data ||= {}
project_import_data.data = project_import_data.data.merge(data)
end
if credentials
project_import_data.credentials ||= {}
project_import_data.credentials = project_import_data.credentials.merge(credentials)
......
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