Update src/Module/Api/Friendica/Photoalbum/Index.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Hank G 2022-12-13 16:45:34 -05:00 committed by GitHub
parent 5288ed46d4
commit d74345782a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'],
]; ];
} }