From 5d2ea198b3eabb85587a45f502fae5b0849310c9 Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 24 Feb 2023 09:23:58 +0000 Subject: [PATCH] Typo --- app/services/imports/sales_logs_import_service.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/services/imports/sales_logs_import_service.rb b/app/services/imports/sales_logs_import_service.rb index 399b1cc61..a764403a7 100644 --- a/app/services/imports/sales_logs_import_service.rb +++ b/app/services/imports/sales_logs_import_service.rb @@ -233,7 +233,7 @@ module Imports end end - MORNTGAGE_LENDER_OPTIONS = { + MORTGAGE_LENDER_OPTIONS = { "atom bank" => 1, "barclays bank plc" => 2, "bath building society" => 3, @@ -288,11 +288,11 @@ module Imports end return if lender.blank? - MORNTGAGE_LENDER_OPTIONS[lender.downcase] || MORNTGAGE_LENDER_OPTIONS["other"] + MORTGAGE_LENDER_OPTIONS[lender.downcase] || MORTGAGE_LENDER_OPTIONS["other"] end def mortgage_lender_other(xml_doc, attributes) - return unless attributes["mortgagelender"] == MORNTGAGE_LENDER_OPTIONS["other"] + return unless attributes["mortgagelender"] == MORTGAGE_LENDER_OPTIONS["other"] case attributes["ownershipsch"] when 1