albums: refactor change

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/767/head
Varun Patil 2023-08-02 15:28:28 -07:00
parent 854ff48d43
commit ce2b5f2fae
1 changed files with 1 additions and 2 deletions

View File

@ -86,9 +86,8 @@ class AlbumsQuery
// Post process
foreach ($albums as &$row) {
$albumId = (int) $row['album_id'];
$row['cluster_id'] = $row['user'].'/'.$row['name'];
$row['album_id'] = $albumId;
$row['album_id'] = (int) $row['album_id'];
$row['created'] = (int) $row['created'];
$row['last_added_photo'] = (int) $row['last_added_photo'];
}