Commit 5ce512b853bb35feffab0b7f427932605e004236

Authored by AndrewVolostnykhThingsboard
1 parent 4d4d1898

rest-client: getDeviceTypes fixed

... ... @@ -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>>() {
... ...