From 7fdc2d19e14bc972426f11ee9ff8567efbff07de Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sat, 28 May 2022 10:34:47 -0400 Subject: photon: update Geocode Limit photo search result to 10 instead of 5. --- photon/photon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'photon') 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. -- cgit v1.2.3