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

17 lines
307 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
mutation UpdateShoutMutation($shoutId: Int!, $shoutInput: ShoutInput!) {
2023-05-07 15:23:48 +00:00
updateShout(shout_id: $shoutId, shout_input: $shoutInput) {
2022-09-09 11:53:35 +00:00
error
shout {
2023-04-20 13:58:56 +00:00
id
2022-09-09 11:53:35 +00:00
slug
title
subtitle
body
}
}
}
`