Skip to content

Commit

Permalink
fix: readdir on file
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelDeimos committed Jun 22, 2024
1 parent 704a4ea commit a72ec97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a72ec97

Please sign in to comment.