diff --git a/src/main/java/fr/dudie/nominatim/client/request/NominatimSearchRequest.java b/src/main/java/fr/dudie/nominatim/client/request/NominatimSearchRequest.java index 053cdd0..9313321 100644 --- a/src/main/java/fr/dudie/nominatim/client/request/NominatimSearchRequest.java +++ b/src/main/java/fr/dudie/nominatim/client/request/NominatimSearchRequest.java @@ -85,7 +85,7 @@ public class NominatimSearchRequest extends NominatimRequest { private List excludePlaceIds; /** Limit the number of returned results. */ - @QueryParameter("limit=%d") + @QueryParameter("limit=%s") private Integer limit; /** Choose output geometry format. */ @@ -345,4 +345,4 @@ public PolygonFormat getPolygonFormat() { public void setPolygonFormat(PolygonFormat polygonFormat) { this.polygonFormat = polygonFormat; } -} \ No newline at end of file +}