Commit cd4a149d8ae6e5ee848142513ecb889ecd10179a

Authored by Igor Kulikov
Committed by GitHub
2 parents ef018241 5ce512b8

Merge pull request #4011 from AndrewVolosytnykhThingsboard/andrew-restclient-fix

Rest Client unable to get device types fix #3992
... ... @@ -1170,7 +1170,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable {
1170 1170
1171 1171 public List<EntitySubtype> getDeviceTypes() {
1172 1172 return restTemplate.exchange(
1173   - baseURL + "/api/devices",
  1173 + baseURL + "/api/device/types",
1174 1174 HttpMethod.GET,
1175 1175 HttpEntity.EMPTY,
1176 1176 new ParameterizedTypeReference<List<EntitySubtype>>() {
... ...