Commit cd4a149d8ae6e5ee848142513ecb889ecd10179a
Committed by
GitHub
Merge pull request #4011 from AndrewVolosytnykhThingsboard/andrew-restclient-fix
Rest Client unable to get device types fix #3992
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -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>>() { | ... | ... |