webapp/src/graphql/mutation/reaction-update.ts

15 lines
275 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
2023-02-07 12:48:45 +00:00
mutation UpdateReactionMutation($id: Int!, $reaction: ReactionInput!) {
updateReaction(id: $id, reaction: $reaction) {
2022-09-09 11:53:35 +00:00
error
reaction {
body
updatedAt
2023-02-07 12:48:45 +00:00
replyTo
2022-09-09 11:53:35 +00:00
}
}
}
`