Update photo queries to match Postgres migration
This commit is contained in:
@@ -24,7 +24,7 @@ export const load: PageServerLoad = async () => {
|
||||
|
||||
// Query these random photos from IDs
|
||||
const photosRes = await fetchAPI(`query {
|
||||
photo (filter: { id: { _in: [${randomPhotosIds}] }}) {
|
||||
photo (filter: { id: { _in: "${randomPhotosIds}" }}) {
|
||||
slug
|
||||
title
|
||||
city
|
||||
|
||||
@@ -77,7 +77,7 @@ export const load: PageServerLoad = async () => {
|
||||
|
||||
// Query these random photos from IDs
|
||||
const photosRes = await fetchAPI(`query {
|
||||
photo (filter: { id: { _in: [${randomPhotosIds}] }}) {
|
||||
photo (filter: { id: { _in: "${randomPhotosIds}" }}) {
|
||||
id
|
||||
title
|
||||
slug
|
||||
|
||||
Reference in New Issue
Block a user