Skip to content

Commit

Permalink
whoops - call build address method that exists
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenhinkle committed Apr 25, 2024
1 parent 9d2db4b commit 5a94e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/veteran/lib/tasks/update_vso_addresses.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a94e42

Please sign in to comment.