Skip to content

Commit 38a84b0

Browse files
Avoid BlankNodes inside PATCHes
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
1 parent 112e117 commit 38a84b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/trustedApplications/trustedApplications.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function getStatementsToAdd (
3636
person: NamedNode,
3737
ns: Namespaces
3838
): any {
39-
const application = new BlankNode(`bn_${nodeName}`)
39+
const application = new NamedNode(nodeName)
4040
return [
4141
st(person, ns.acl('trustedApp'), application, person.doc()),
4242
st(application, ns.acl('origin'), origin, person.doc()),

0 commit comments

Comments
 (0)