mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-10 07:01:51 -06:00
fix: readdir on file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user