diff --git a/src/js/angular/rest/rdf4j.repositories.rest.service.js b/src/js/angular/rest/rdf4j.repositories.rest.service.js index 57f176a6e..81e738e6a 100644 --- a/src/js/angular/rest/rdf4j.repositories.rest.service.js +++ b/src/js/angular/rest/rdf4j.repositories.rest.service.js @@ -134,7 +134,7 @@ function RDF4JRepositoriesRestService($http, $repositories, $translate) { const payloadString = properties.join('&'); return $http({ method: 'POST', - url: `repositories/${repositoryId}`, + url: `${REPOSITORIES_ENDPOINT}/${repositoryId}`, headers: { 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8', 'Accept': acceptHeader