Fix of incorrect url for getTenantProfiles in REST Client

This commit is contained in:
Andrew Volostnykh 2021-02-24 11:39:35 +02:00 committed by Andrew Shvayka
parent 667a4459aa
commit 72ea3273c7

View File

@ -2188,7 +2188,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable {
Map<String, String> params = new HashMap<>();
addPageLinkToParam(params, pageLink);
return restTemplate.exchange(
baseURL + "/api/tenantProfiles" + getUrlParams(pageLink),
baseURL + "/api/tenantProfiles?" + getUrlParams(pageLink),
HttpMethod.GET,
HttpEntity.EMPTY,
new ParameterizedTypeReference<PageData<TenantProfile>>() {