fix: readdir on file

This commit is contained in:
KernelDeimos 2024-06-22 19:10:25 -04:00
parent 704a4ead17
commit a72ec9799a

View File

@ -38,7 +38,7 @@ class HLReadDir extends HLFilesystemOperation {
if ( ! await svc_acl.check(actor, subject, 'see') ) {
throw await svc_acl.get_safe_acl_error(actor, subject, 'see');
}
return [subject];
return [await subject.getSafeEntry()];
}
let children;