From 61fca59d87b03c1d2f2f662e1cec697b7c54a261 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 15 Nov 2025 17:11:15 -0600 Subject: [PATCH] Fix cached getPhotos request --- src/album/data.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/album/data.ts b/src/album/data.ts index 632b0a94..848784f6 100644 --- a/src/album/data.ts +++ b/src/album/data.ts @@ -1,6 +1,5 @@ -import { getPhotosMetaCached } from '@/photo/cache'; +import { getPhotosCached, getPhotosMetaCached } from '@/photo/cache'; import { Album } from '.'; -import { getPhotos } from '@/photo/query'; export const getPhotosAlbumDataCached = ({ album, @@ -10,7 +9,7 @@ export const getPhotosAlbumDataCached = ({ limit?: number, }) => Promise.all([ - getPhotos({ album, limit }), + getPhotosCached({ album, limit }), getPhotosMetaCached({ album }), ]);