Fix array_map error (#54)

pull/62/head
Varun Patil 2022-09-25 03:00:07 -07:00
parent 821e10525e
commit 3be44725cc
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ class ApiController extends Controller {
return [
"dayid" => \OCA\Memories\Util::$TAG_DAYID_FOLDERS,
"count" => count($folders),
"detail" => array_map(function (&$node) {
"detail" => array_map(function ($node) {
return [
"fileid" => $node->getId(),
"name" => $node->getName(),