Fetch published global countries and locations
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
export async function load ({ page, session, fetch, context }) {
|
||||
const res = await fetchAPI(`
|
||||
query {
|
||||
location {
|
||||
location (filter: { status: { _eq: "published" }}) {
|
||||
name
|
||||
slug
|
||||
coordinates
|
||||
@@ -48,7 +48,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
country {
|
||||
country (filter: { status: { _eq: "published" }}) {
|
||||
name
|
||||
slug
|
||||
flag {
|
||||
|
||||
Reference in New Issue
Block a user