diff --git a/src/routes/index.ts b/src/routes/index.ts index fb659cf..f5698d3 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -8,7 +8,10 @@ export async function GET ({}: RequestEvent): Promise { const totalRes = await fetchAPI(` query { photo ( - filter: { status: { _eq: "published" }}, + filter: { + favorite: { _eq: true }, + status: { _eq: "published" }, + }, limit: -1, ) { id