Skip to content

Commit 997b70c

Browse files
Example fix
1 parent cf8516e commit 997b70c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/acp/AccessControl.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import { TermWrapper } from "rdfjs-wrapper"
22
import { Policy } from "./Policy.js"
33
import { ACP } from "../vocabulary/mod.js"
44
import { Typed } from "./Typed.js";
5+
import { ObjectMapping } from "rdfjs-wrapper";
56

67
export class AccessControl extends Typed {
78
get apply(): Set<Policy> {
8-
return this.objects(ACP.apply, TermWrapper.as(Policy), TermWrapper.as(Policy))
9+
return this.objects(ACP.apply, ObjectMapping.as(Policy), ObjectMapping.as(Policy))
910
}
1011
}

0 commit comments

Comments
 (0)