From 92f1346b4c44fe6e099e0036c2750a3117b29bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E7=92=9F?= Date: Thu, 8 Jun 2023 18:15:56 +0800 Subject: [PATCH] Update getDatafromContentful.yml --- .github/workflows/getDatafromContentful.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/getDatafromContentful.yml b/.github/workflows/getDatafromContentful.yml index 41ff941d..1fd6fbdb 100644 --- a/.github/workflows/getDatafromContentful.yml +++ b/.github/workflows/getDatafromContentful.yml @@ -20,7 +20,7 @@ jobs: curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ - --data '{"query":"query($locale: String){catalog(id: \"2Yp0TY3kBHgG6VDjsHZNpK\",locale:$locale) {linkedFrom(allowedLocales:[\"en-US\"]) {catalogCollection(limit:20) {items {key position title linkedFrom(allowedLocales:[\"en-US\"]) {catalogCollection(limit:20) {items {key title position}}}}}}}}","variables":{"locale":\"$LOCALE\"}}' \ + --data '{"query":"query($locale: String){catalog(id: \"2Yp0TY3kBHgG6VDjsHZNpK\",locale:$locale) {linkedFrom(allowedLocales:[\"en-US\"]) {catalogCollection(limit:20) {items {key position title linkedFrom(allowedLocales:[\"en-US\"]) {catalogCollection(limit:20) {items {key title position}}}}}}}}","variables":{"locale":'\"$LOCALE'\"}}' \ https://graphql.contentful.com/content/v1/spaces/ffrhttfighww > appmanage/static/json/catalog_$LOCALE.json done