mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 14:03:42 +00:00
fix: readdir on file
This commit is contained in:
parent
704a4ead17
commit
a72ec9799a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user