Fix response Update reaction
This commit is contained in:
parent
084bd29d2b
commit
96685507ea
|
@ -192,7 +192,7 @@ export const apiClient = {
|
||||||
updateReaction: async (reaction: ReactionInput) => {
|
updateReaction: async (reaction: ReactionInput) => {
|
||||||
const response = await apiClient.private.mutation(reactionUpdate, { reaction }).toPromise()
|
const response = await apiClient.private.mutation(reactionUpdate, { reaction }).toPromise()
|
||||||
console.debug('[graphql.client.core] updateReaction:', response)
|
console.debug('[graphql.client.core] updateReaction:', response)
|
||||||
return response.data.update_reaction.reaction
|
return response.data.update_reaction
|
||||||
},
|
},
|
||||||
loadAuthorsBy: async (args: QueryLoad_Authors_ByArgs) => {
|
loadAuthorsBy: async (args: QueryLoad_Authors_ByArgs) => {
|
||||||
const resp = await publicGraphQLClient.query(authorsLoadBy, args).toPromise()
|
const resp = await publicGraphQLClient.query(authorsLoadBy, args).toPromise()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user