Browse Source

set previous_location_only to false by default

pull/1395/head
Kat 3 years ago
parent
commit
5114355719
  1. 2
      app/services/imports/local_authorities_service.rb

2
app/services/imports/local_authorities_service.rb

@ -16,7 +16,7 @@ module Imports
la_name: row["la_name"],
start_date: Time.zone.local(row["start_year"], 4, 1),
end_date: (Time.zone.local(row["end_year"], 3, 31) if row["end_year"]),
previous_location_only: row["previous_location_only"] },
previous_location_only: row["previous_location_only"] || false },
)
@count += 1
end

Loading…
Cancel
Save