Remove slash according to api

This commit is contained in:
sunshiningsoo
2024-02-10 21:22:24 +09:00
committed by Christian Tzolov
parent 8210fb165b
commit c0a341c300

View File

@@ -307,7 +307,7 @@ public class ChromaApi {
public List<Collection> listCollections() {
return this.restTemplate
.exchange(this.baseUrl + "/api/v1/collections/", HttpMethod.GET, new HttpEntity<>(httpHeaders()),
.exchange(this.baseUrl + "/api/v1/collections", HttpMethod.GET, new HttpEntity<>(httpHeaders()),
CollectionList.class)
.getBody();
}