diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-05-28 10:34:47 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-05-28 10:34:47 -0400 |
commit | 7fdc2d19e14bc972426f11ee9ff8567efbff07de (patch) | |
tree | 4156ea90dbf2857285c8fe369adb0b2ad886e03c | |
parent | f0e685d2fd2219c1b4f1f7cd3a7488390ba2ab16 (diff) |
photon: update Geocode
Limit photo search result to 10 instead of 5.
-rw-r--r-- | photon/photon.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/photon/photon.go b/photon/photon.go index 046a8de..69e6eff 100644 --- a/photon/photon.go +++ b/photon/photon.go @@ -80,7 +80,7 @@ func Geocode(location string) ([]Coordinates, error) { q := url.Values{} q.Add("q", location) q.Add("osm_tag", "place:city") - q.Add("limit", "5") + q.Add("limit", "10") u.RawQuery = q.Encode() // Make request. |