From c61cd4623c3ec2aa2e30f7921458f0b4043f14ba Mon Sep 17 00:00:00 2001 From: Boyquotes Date: Sun, 14 Apr 2024 10:04:54 +0200 Subject: [PATCH 1/2] Update the indexer parameter to avoid subql error --- .../developer-tools/indexer/getting-started/app.md | 2 +- .../developer-tools/indexer/getting-started/playground.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/for-developers/developer-tools/indexer/getting-started/app.md b/docs/for-developers/developer-tools/indexer/getting-started/app.md index a84254d..b97b1c0 100644 --- a/docs/for-developers/developer-tools/indexer/getting-started/app.md +++ b/docs/for-developers/developer-tools/indexer/getting-started/app.md @@ -38,7 +38,7 @@ const getLastListedNFTs = async () => { nftEntities( first: 10, offset: 0, - orderBy: TIMESTAMP_LIST_DESC + orderBy: TIMESTAMP_LISTED_DESC ) { totalCount nodes { diff --git a/docs/for-developers/developer-tools/indexer/getting-started/playground.md b/docs/for-developers/developer-tools/indexer/getting-started/playground.md index 2933003..902825c 100644 --- a/docs/for-developers/developer-tools/indexer/getting-started/playground.md +++ b/docs/for-developers/developer-tools/indexer/getting-started/playground.md @@ -15,7 +15,7 @@ Depending on the datas you are looking for, you can directly query any data need ```graphql { - nftEntities(first: 10, offset: 0, orderBy: TIMESTAMP_LIST_DESC) { + nftEntities(first: 10, offset: 0, orderBy: TIMESTAMP_LISTED_DESCTIMESTAMP_LISTED_DESC) { totalCount nodes { nftId From 69841f54f3ada26941c6b8e2dc40194f317725bb Mon Sep 17 00:00:00 2001 From: Boyquotes Date: Sun, 14 Apr 2024 10:24:37 +0200 Subject: [PATCH 2/2] Update the indexer parameter to avoid subql error FIX --- .../developer-tools/indexer/getting-started/playground.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/for-developers/developer-tools/indexer/getting-started/playground.md b/docs/for-developers/developer-tools/indexer/getting-started/playground.md index 902825c..f1f6628 100644 --- a/docs/for-developers/developer-tools/indexer/getting-started/playground.md +++ b/docs/for-developers/developer-tools/indexer/getting-started/playground.md @@ -15,7 +15,7 @@ Depending on the datas you are looking for, you can directly query any data need ```graphql { - nftEntities(first: 10, offset: 0, orderBy: TIMESTAMP_LISTED_DESCTIMESTAMP_LISTED_DESC) { + nftEntities(first: 10, offset: 0, orderBy: TIMESTAMP_LISTED_DESC) { totalCount nodes { nftId