webapp/src/graphql/mutation/reaction-destroy.ts
2023-02-07 12:48:45 +00:00

13 lines
191 B
TypeScript

import { gql } from '@urql/core'
export default gql`
mutation DeleteReactionMutation($id: Int!) {
deleteReaction(id: $id) {
error
reaction {
id
}
}
}
`