Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-14 14:33:01 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-14 14:33:01 +0300
commit00ec425d5a0cc897b62d9bbaccc0baaf8f646cea (patch)
treec368a0fe91dc9db9aabaf3ce369197398a049a16 /lib
parent1cc1366eb3497830ed6916c092b856d9ccea5b3d (diff)
Fix default usable state
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/AlbumsController.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Controller/AlbumsController.php b/lib/Controller/AlbumsController.php
index bb096ad2..4493ec51 100644
--- a/lib/Controller/AlbumsController.php
+++ b/lib/Controller/AlbumsController.php
@@ -84,7 +84,14 @@ class AlbumsController extends Controller {
$result = [];
/** @var Node $node */
foreach ($nodes as $node) {
- $result[] = $node->getName();
+ $result[] = [
+ 'id' => $node->getName(),
+ 'basename' => $node->getName(),
+ 'id' => $node->getName(),
+ 'id' => $node->getName(),
+ 'id' => $node->getName(),
+ 'id' => $node->getName(),
+ ]
}
return $result;