aboutsummaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-25 11:45:11 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-25 11:45:11 +0100
commit82702fbe2d0607e7ca8a02c878b2e79a21664b7c (patch)
tree2388abb10f8ec41ea4a20058f122cb0e7bcae9ef /src/services
parent958569e09071e4bb290f0ec120b4309ae5983d2d (diff)
chore: display total found posts in page meta
Diffstat (limited to 'src/services')
-rw-r--r--src/services/graphql/queries.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/services/graphql/queries.ts b/src/services/graphql/queries.ts
index 7bd6401..e7a76b1 100644
--- a/src/services/graphql/queries.ts
+++ b/src/services/graphql/queries.ts
@@ -96,6 +96,7 @@ export const getPublishedPosts = async ({
pageInfo {
endCursor
hasNextPage
+ total
}
}
}