Skip to content

Commit

Permalink
Avoid BlankNodes inside PATCHes
Browse files Browse the repository at this point in the history
The spec https://solidproject.org/TR/protocol#server-patch-n3-blank-nodes BlankNodes inside N3 PATCH entries, so let's use a NamedNode here?

Hopefully this can fix solid-contrib/pivot#31
  • Loading branch information
michielbdejong authored Nov 26, 2024
1 parent 112e117 commit 38a84b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trustedApplications/trustedApplications.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function getStatementsToAdd (
person: NamedNode,
ns: Namespaces
): any {
const application = new BlankNode(`bn_${nodeName}`)
const application = new NamedNode(nodeName)
return [
st(person, ns.acl('trustedApp'), application, person.doc()),
st(application, ns.acl('origin'), origin, person.doc()),
Expand Down

0 comments on commit 38a84b0

Please sign in to comment.