Fix array_map error (#54)
parent
821e10525e
commit
3be44725cc
|
@ -221,7 +221,7 @@ class ApiController extends Controller {
|
||||||
return [
|
return [
|
||||||
"dayid" => \OCA\Memories\Util::$TAG_DAYID_FOLDERS,
|
"dayid" => \OCA\Memories\Util::$TAG_DAYID_FOLDERS,
|
||||||
"count" => count($folders),
|
"count" => count($folders),
|
||||||
"detail" => array_map(function (&$node) {
|
"detail" => array_map(function ($node) {
|
||||||
return [
|
return [
|
||||||
"fileid" => $node->getId(),
|
"fileid" => $node->getId(),
|
||||||
"name" => $node->getName(),
|
"name" => $node->getName(),
|
||||||
|
|
Loading…
Reference in New Issue