Skip to content

Commit

Permalink
remove country mapping hack for old API versions
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Dec 23, 2022
1 parent 5fe96ed commit a0357f0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/netsuite/support/country.rb
Expand Up @@ -281,12 +281,7 @@ def to_record
end

def iso_to_netsuite
# NOTE GB country code changed on 2016_1
if NetSuite::Configuration.api_version <= "2015_2"
ISO_TO_NETSUITE.merge({ 'GB' => '_unitedKingdomGB' })
else
ISO_TO_NETSUITE
end
ISO_TO_NETSUITE
end

end
Expand Down

0 comments on commit a0357f0

Please sign in to comment.