diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-14 14:33:01 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-14 14:33:01 +0300 |
commit | 00ec425d5a0cc897b62d9bbaccc0baaf8f646cea (patch) | |
tree | c368a0fe91dc9db9aabaf3ce369197398a049a16 /lib | |
parent | 1cc1366eb3497830ed6916c092b856d9ccea5b3d (diff) |
Fix default usable state
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/AlbumsController.php | 9 |
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; |