From 5a94e42bc70680ed2ada336945c94ffdafa3ba54 Mon Sep 17 00:00:00 2001 From: Holden Hinkle Date: Thu, 25 Apr 2024 13:05:53 -0400 Subject: [PATCH] whoops - call build address method that exists --- modules/veteran/lib/tasks/update_vso_addresses.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/veteran/lib/tasks/update_vso_addresses.rake b/modules/veteran/lib/tasks/update_vso_addresses.rake index 01a951e83a7..d64bf57e700 100644 --- a/modules/veteran/lib/tasks/update_vso_addresses.rake +++ b/modules/veteran/lib/tasks/update_vso_addresses.rake @@ -950,7 +950,7 @@ namespace :veteran do if address_valid?(api_response) record = Veteran::Service::Organization.find(org[:poa]) - record.update(build_address(api_response)) + record.update(build_address_attributes(api_response)) num_records_updated += 1 else num_invalid_addresses += 1