Skip to content

Commit

Permalink
GDB-9210 Download As JSON and JSONLD User interface fails to read gra…
Browse files Browse the repository at this point in the history
…phdb.external-url

* Changed building request to rdf4j.repositories.rest.service.js to consider different path if provided.
  • Loading branch information
martina.dimova committed Nov 27, 2023
1 parent 2def4ee commit 67f4117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/angular/rest/rdf4j.repositories.rest.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67f4117

Please sign in to comment.