From 11e722d2afc970b13367c3f37085d08d5e697b8a Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 23 Feb 2024 02:13:31 +0300 Subject: [PATCH] stat-fix --- src/graphql/query/core/author-follows.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/graphql/query/core/author-follows.ts b/src/graphql/query/core/author-follows.ts index b1c8c0ce..7de7d9c4 100644 --- a/src/graphql/query/core/author-follows.ts +++ b/src/graphql/query/core/author-follows.ts @@ -3,17 +3,33 @@ import { gql } from '@urql/core' export default gql` query GetAuthorFollows($slug: String, $user: String, $author_id: Int) { get_author_follows(slug: $slug, user: $user, author_id: $author_id) { - authors { + authors { id slug name pic bio + stat { + shouts + authors + followers + } } topics { id slug title + stat { + shouts + authors + followers + } + } + communities { + id + slug + name + pic } } }