Skip to content
Snippets Groups Projects
Commit 7f333115 authored by Mathieu Massaviol's avatar Mathieu Massaviol
Browse files

Merge branch '53-fix-getmemberinfos' into 'main'

Resolve "getMemberInfos récupère les informations de plusieurs membres"

Closes #53

See merge request !55
parents 4f5e7415 e1b0b2a7
Branches
No related tags found
1 merge request!55Resolve "getMemberInfos récupère les informations de plusieurs membres"
Pipeline #10558 passed
......@@ -7,10 +7,15 @@ import { executeSparqlConstruct } from "./sparql"
export const getMemberInfos = async (auth: Credentials) => {
return await executeSparqlConstruct<OcMemberInfos>(
`
CONSTRUCT {?member ?p ?graph}
CONSTRUCT {
?member oct:hasSystemGraph ?systemGraph;
oct:hasPrivateGraph ?privateGraph;
oct:loginID ?loginId.
}
WHERE {
VALUES ?p { oct:hasSystemGraph oct:hasPrivateGraph oct:loginID}
?member ?p ?graph.
?member oct:hasSystemGraph ?systemGraph;
oct:hasPrivateGraph ?privateGraph;
oct:loginID ?loginId.
}
`,
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment