queryname-fix
All checks were successful
deploy / test (push) Successful in 1m8s

This commit is contained in:
Untone 2023-12-26 17:36:12 +03:00
parent 1fa808a2f7
commit abae44621c

View File

@ -75,7 +75,7 @@ export const apiClient = {
getRandomTopicShouts: async (limit: number): Promise<{ topic: Topic; shouts: Shout[] }> => {
const resp = await publicGraphQLClient.query(articlesLoadRandomTopic, { limit }).toPromise()
if (!resp.data) console.error('[graphql.client.core] load_shouts_random_topic', resp)
return resp.data.load_random_topics_shouts
return resp.data.load_shouts_random_topic
},
follow: async ({ what, slug }: { what: FollowingEntity; slug: string }) => {