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