Skip to content

Commit

Permalink
Return all the maxmind info incase there is more there
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 14, 2020
1 parent 2a6745f commit 07e555c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Geo/Coder/Free/MaxMind.pm
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ sub geocode {
'lat' => $l->{'latitude'},
'long' => $l->{'longitude'},
'location' => $location,
'database' => 'MaxMind'
'database' => 'MaxMind',
'maxmind' => $l,
});
# } else {
# Carp::carp(__PACKAGE__, ": $location has latitude of 0");
Expand Down

0 comments on commit 07e555c

Please sign in to comment.