Browse Source

rest-client: getDeviceTypes fixed

pull/4011/head
AndrewVolostnykhThingsboard 5 years ago
parent
commit
5ce512b853
  1. 2
      rest-client/src/main/java/org/thingsboard/rest/client/RestClient.java

2
rest-client/src/main/java/org/thingsboard/rest/client/RestClient.java

@ -1170,7 +1170,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable {
public List<EntitySubtype> getDeviceTypes() {
return restTemplate.exchange(
baseURL + "/api/devices",
baseURL + "/api/device/types",
HttpMethod.GET,
HttpEntity.EMPTY,
new ParameterizedTypeReference<List<EntitySubtype>>() {

Loading…
Cancel
Save