Skip to content

Commit 26c8d4b

Browse files
committed
fix query for eln settings
1 parent bbcb0d1 commit 26c8d4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openbismantic_ui/src/openbismantic_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ export class OpenbismanticClient {
9898
async getELNSettings() {
9999
await this.internalStore.fetchUrl(new URL('/openbismantic/eln_settings', document.baseURI));
100100
const queryString = 'SELECT ?settings ?iri WHERE {' +
101-
'?iri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://xeo54:8128/openbismantic/class/GENERAL_ELN_SETTINGS>. ' +
102-
'?iri <https://xeo54:8128/openbismantic/object_property/ELN_SETTINGS> ?b01. ' +
101+
`?iri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <${document.baseURI}/openbismantic/class/GENERAL_ELN_SETTINGS>. ` +
102+
`?iri <${document.baseURI}/openbismantic/object_property/ELN_SETTINGS> ?b01. ` +
103103
'?b01 <http://www.w3.org/ns/oa#hasLiteralBody> ?settings.' +
104104
'}';
105105
console.log(queryString);

0 commit comments

Comments
 (0)