diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 7cdb8f1c..e00ae44b 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -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(),