From 34e216546151eaf8a0a3cbb0bc8b65dae4c63bf2 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 23 May 2022 14:07:02 +0200 Subject: refactor: reduce the number of data transformation --- src/services/graphql/articles.query.ts | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/services/graphql/articles.query.ts') diff --git a/src/services/graphql/articles.query.ts b/src/services/graphql/articles.query.ts index 7bd0901..3e1f575 100644 --- a/src/services/graphql/articles.query.ts +++ b/src/services/graphql/articles.query.ts @@ -56,7 +56,6 @@ export const articleBySlugQuery = `query PostBy($slug: ID!) { } } info { - readingTime wordsCount } modified @@ -90,11 +89,6 @@ export const articlesQuery = `query Articles($after: String = "", $first: Int = } } } - author { - node { - name - } - } commentCount contentParts { beforeMore @@ -113,7 +107,6 @@ export const articlesQuery = `query Articles($after: String = "", $first: Int = } } info { - readingTime wordsCount } modified -- cgit v1.2.3