Update src/Module/Api/Friendica/Photoalbum/Index.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
5288ed46d4
commit
d74345782a
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ class Index extends BaseApi
|
||||||
$items = [];
|
$items = [];
|
||||||
foreach ($albums as $album) {
|
foreach ($albums as $album) {
|
||||||
$items[] = [
|
$items[] = [
|
||||||
'name' => $album['album'],
|
'name' => $album['album'],
|
||||||
'created' => $album['created'],
|
'created' => $album['created'],
|
||||||
'count' => $album['total'],
|
'count' => $album['total'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue