Fix cached getPhotos request

This commit is contained in:
Sam Becker 2025-11-15 17:11:15 -06:00
parent c5c78e527e
commit 61fca59d87

View File

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