Skip to content

Commit 42762fb

Browse files
committed
Use fork of sparql-client-2
1 parent 215d101 commit 42762fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helpers/mu/sparql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function newSparqlClient() {
3030
// executes a query (you can use the template syntax)
3131
function query( queryString ) {
3232
console.log(queryString);
33-
return newSparqlClient().queryRaw(queryString).execute().then(response => {
33+
return newSparqlClient().query(queryString).executeRaw().then(response => {
3434
const authorizationGroups = response.headers['mu-authorization-groups'];
3535
if (authorizationGroups) {
3636
httpContext.get('response').setHeader('mu-authorization-groups', authorizationGroups);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"body-parser": "~1.15.1",
2222
"express": "^4.14.0",
2323
"express-http-context": "~1.0.2",
24-
"sparql-client-2": "^0.6.0",
24+
"sparql-client-2": "https://github.com/erikap/node-sparql-client.git",
2525
"supervisor": "^0.12.0"
2626
},
2727
"author": "Aad Versteden <[email protected]>",

0 commit comments

Comments
 (0)