Skip to content

Commit

Permalink
export state code without country
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 7, 2020
1 parent cc06f10 commit 1c230a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/export_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1c230a0

Please sign in to comment.