diff --git a/app/services/bulk_upload/lettings/year2023/row_parser.rb b/app/services/bulk_upload/lettings/year2023/row_parser.rb index 508ddea90..5c9b34843 100644 --- a/app/services/bulk_upload/lettings/year2023/row_parser.rb +++ b/app/services/bulk_upload/lettings/year2023/row_parser.rb @@ -893,10 +893,10 @@ private owning_organisation_id: [:field_1], managing_organisation_id: [:field_2], renewal: [:field_6], - scheme_id: (scheme_field.present? ? [scheme_field] : nil), - scheme: (scheme_field.present? ? [scheme_field] : nil), - location_id: (location_field.present? ? [location_field] : nil), - location: (location_field.present? ? [location_field] : nil), + scheme_id: (scheme_field.present? ? [scheme_field] : []), + scheme: (scheme_field.present? ? [scheme_field] : []), + location_id: (location_field.present? ? [location_field] : []), + location: (location_field.present? ? [location_field] : []), created_by: [:field_3], needstype: [:field_4], rent_type: %i[field_5 field_10 field_11],