Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1170,7 +1170,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable { | @@ -1170,7 +1170,7 @@ public class RestClient implements ClientHttpRequestInterceptor, Closeable { | ||
1170 | 1170 | ||
1171 | public List<EntitySubtype> getDeviceTypes() { | 1171 | public List<EntitySubtype> getDeviceTypes() { |
1172 | return restTemplate.exchange( | 1172 | return restTemplate.exchange( |
1173 | - baseURL + "/api/devices", | 1173 | + baseURL + "/api/device/types", |
1174 | HttpMethod.GET, | 1174 | HttpMethod.GET, |
1175 | HttpEntity.EMPTY, | 1175 | HttpEntity.EMPTY, |
1176 | new ParameterizedTypeReference<List<EntitySubtype>>() { | 1176 | new ParameterizedTypeReference<List<EntitySubtype>>() { |