Skip to content

Commit a72ec97

Browse files
committed
fix: readdir on file
1 parent 704a4ea commit a72ec97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/filesystem/hl_operations/hl_readdir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HLReadDir extends HLFilesystemOperation {
3838
if ( ! await svc_acl.check(actor, subject, 'see') ) {
3939
throw await svc_acl.get_safe_acl_error(actor, subject, 'see');
4040
}
41-
return [subject];
41+
return [await subject.getSafeEntry()];
4242
}
4343

4444
let children;

0 commit comments

Comments
 (0)