Skip to content

Commit

Permalink
Merge pull request #8 from rinsed-org/bap/sc-8536
Browse files Browse the repository at this point in the history
Fix bug when zipcode is not found
  • Loading branch information
skolem authored Sep 20, 2023
2 parents a0b6d3c + 024a7ff commit 2622fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zip-codes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def self.lookup(country, zip_code)
end
end

@cache[country][country][zip_code] = nil
@cache[country][zip_code] = nil
end

def self.parse_entry(entry)
Expand Down

0 comments on commit 2622fed

Please sign in to comment.