folders: fix byref error (fix #207)

pull/221/head
Varun Patil 2022-11-15 18:29:26 -08:00
parent 6c49ace00a
commit f1e9765814
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ trait FoldersTrait
return [
'dayid' => \OCA\Memories\Util::$TAG_DAYID_FOLDERS,
'count' => \count($folders),
'detail' => array_map(function (&$node) use (&$folder) {
'detail' => array_map(function ($node) use (&$folder) {
return [
'fileid' => $node->getId(),
'name' => $node->getName(),