Skip to content

Commit 158f21d

Browse files
committed
fixed TS problem
1 parent 1c75c97 commit 158f21d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/acl/acl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function adoptACLDefault (
2525
aclDoc: NamedNode,
2626
defaultResource: NamedNode,
2727
defaultACLDoc: NamedNode
28-
): IndexedFormula {
28+
): LiveStore {
2929
const ACL = ns.acl
3030
const isContainer = doc.uri.slice(-1) === '/' // Give default for all directories
3131

@@ -46,7 +46,7 @@ export function adoptACLDefault (
4646

4747
const kb2 = graph() // Potential - derived is kept apart
4848
proposed.forEach(st => kb2.add(move(st.subject), move(st.predicate), move(st.object), sym(aclDoc.uri)))
49-
return kb2
49+
return kb2 as LiveStore
5050

5151
function move (symbol) {
5252
const y = defaultACLDoc.uri.length // The default ACL file

0 commit comments

Comments
 (0)