diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb index 8a329627e..dccc16f69 100644 --- a/app/controllers/export_controller.rb +++ b/app/controllers/export_controller.rb @@ -168,7 +168,7 @@ def organizations billingCity: provider.billing_city, billingDepartment: provider.billing_department, billingOrganization: provider.billing_organization, - billingStateCode: provider.billing_state, + billingStateCode: provider.billing_state.present? ? provider.billing_state.split("-").last : nil, billingCountryCode: provider.billing_country, twitter: provider.twitter_handle, rorId: provider.ror_id,