[ SEARCH-2175 ] Pass MaxResults to Repo API as Int

This commit is contained in:
agazzarini
2020-04-15 06:33:17 +02:00
parent 97a951f085
commit a2664c96d5

View File

@@ -803,7 +803,7 @@ public class SOLRAPIClient
if (params.getMaxResults().isPresent())
{
body.put("maxResults", params.getMaxResults());
body.put("maxResults", params.getMaxResults().getAsInt());
}
PostRequest req = new PostRequest(url.toString(), body.toString(), "application/json");