followed-topics-counter-fix
Some checks failed
deploy / test (push) Failing after 1m13s

This commit is contained in:
Untone 2023-12-28 00:23:16 +03:00
parent 7ac836e4e3
commit 6c40415774

View File

@ -117,7 +117,7 @@ export const apiClient = {
},
getAuthorFollowingTopics: async ({ slug }: { slug: string }): Promise<Topic[]> => {
const response = await publicGraphQLClient.query(userFollowedTopics, { slug }).toPromise()
return response.data.userFollowedTopics
return response.data.get_topics_by_author
},
updateProfile: async (input: ProfileInput) => {
const response = await apiClient.private.mutation(updateProfile, { profile: input }).toPromise()