webapp/src/graphql/mutation/core/reaction-destroy.ts

13 lines
219 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
2024-01-23 21:31:07 +00:00
mutation DeleteReactionMutation($reaction_id: Int!) {
delete_reaction(reaction_id: $reaction_id) {
2022-09-09 11:53:35 +00:00
error
reaction {
id
}
2022-09-09 11:53:35 +00:00
}
}
`