Finish first part of creating the full list of routes

This commit is contained in:
itsfinniii
2026-03-15 12:04:28 +01:00
parent ff811327bb
commit 4f3cc40041
8 changed files with 128 additions and 6 deletions

View File

@@ -47,10 +47,11 @@ export async function getAllAlbums(settings: GlobalSettings): Promise<PhotoAlbum
albumRecord["photos"].forEach((photoRecord: any) => {
album.photos.push({
id: photoRecord["id"],
photo: {
url: photoRecord["photo"]["filename_download"],
height: photoRecord["photo"]["filename_download"]["height"],
width: photoRecord["photo"]["filename_download"]["width"]
url: photoRecord["photo"]["filename_disk"],
width: photoRecord["photo"]["width"],
height: photoRecord["photo"]["height"]
},
text: photoRecord["text"]
});