fix-mutation
This commit is contained in:
parent
de097240e3
commit
99f39abf12
|
@ -1,8 +1,8 @@
|
||||||
import { gql } from '@urql/core'
|
import { gql } from '@urql/core'
|
||||||
|
|
||||||
export default gql`
|
export default gql`
|
||||||
mutation createMessage($chat: String!, $body: String!, $reply_to: Int) {
|
mutation createMessage($chat_id: String!, $body: String!, $reply_to: Int) {
|
||||||
createMessage(chat: $chat, body: $body, reply_to: $reply_to) {
|
createMessage(chat_id: $chat_id, body: $body, reply_to: $reply_to) {
|
||||||
error
|
error
|
||||||
message {
|
message {
|
||||||
id
|
id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user