From 96685507eadf1f2d9ccbda5821a48ab41f6ccce6 Mon Sep 17 00:00:00 2001 From: ilya-bkv Date: Mon, 18 Mar 2024 14:25:10 +0300 Subject: [PATCH] Fix response Update reaction --- src/graphql/client/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphql/client/core.ts b/src/graphql/client/core.ts index ee76347b..36ae8f70 100644 --- a/src/graphql/client/core.ts +++ b/src/graphql/client/core.ts @@ -192,7 +192,7 @@ export const apiClient = { updateReaction: async (reaction: ReactionInput) => { const response = await apiClient.private.mutation(reactionUpdate, { reaction }).toPromise() console.debug('[graphql.client.core] updateReaction:', response) - return response.data.update_reaction.reaction + return response.data.update_reaction }, loadAuthorsBy: async (args: QueryLoad_Authors_ByArgs) => { const resp = await publicGraphQLClient.query(authorsLoadBy, args).toPromise()