[FIX] Show reaction after submit
This commit is contained in:
parent
4fdd025e44
commit
896c180dd1
|
@ -182,7 +182,7 @@ export const apiClient = {
|
|||
createReaction: async (input: ReactionInput) => {
|
||||
const response = await apiClient.private.mutation(reactionCreate, { reaction: input }).toPromise()
|
||||
console.debug('[graphql.client.core] createReaction:', response)
|
||||
return response.data.create_reaction.reaction
|
||||
return response.data.create_reaction
|
||||
},
|
||||
destroyReaction: async (reaction_id: number) => {
|
||||
const response = await apiClient.private.mutation(reactionDestroy, { reaction_id }).toPromise()
|
||||
|
|
Loading…
Reference in New Issue
Block a user