Use favorite photos for Homepage Collage
This commit is contained in:
@@ -8,7 +8,10 @@ export async function GET ({}: RequestEvent): Promise<RequestHandlerOutput> {
|
|||||||
const totalRes = await fetchAPI(`
|
const totalRes = await fetchAPI(`
|
||||||
query {
|
query {
|
||||||
photo (
|
photo (
|
||||||
filter: { status: { _eq: "published" }},
|
filter: {
|
||||||
|
favorite: { _eq: true },
|
||||||
|
status: { _eq: "published" },
|
||||||
|
},
|
||||||
limit: -1,
|
limit: -1,
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
|
|||||||
Reference in New Issue
Block a user