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

16 lines
286 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 {
2023-02-25 14:16:11 +00:00
id
2022-09-09 11:53:35 +00:00
body
updatedAt
2023-02-07 12:48:45 +00:00
replyTo
2022-09-09 11:53:35 +00:00
}
}
}
`