From 5114355719e7dd26485f2a252da1654051f394b1 Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 8 Mar 2023 11:35:17 +0000 Subject: [PATCH] set previous_location_only to false by default --- app/services/imports/local_authorities_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/imports/local_authorities_service.rb b/app/services/imports/local_authorities_service.rb index 0c45308c3..fd989f777 100644 --- a/app/services/imports/local_authorities_service.rb +++ b/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