fix-query
This commit is contained in:
parent
6b53746c5f
commit
b8ff05f70a
|
@ -13,7 +13,7 @@ export default gql`
|
|||
users {
|
||||
slug
|
||||
name
|
||||
pic
|
||||
userpic
|
||||
}
|
||||
title
|
||||
createdAt
|
||||
|
|
|
@ -3,11 +3,11 @@ import { gql } from '@urql/core'
|
|||
export default gql`
|
||||
query LoadMessagesQuery($chatId: String!, $offset: Int, $amount: Int) {
|
||||
loadChat(chatId: $chatId, offset: $offset, amount: $amount) {
|
||||
id
|
||||
title
|
||||
desc
|
||||
slug
|
||||
amount
|
||||
author
|
||||
body
|
||||
createdAt
|
||||
updatedAt
|
||||
seen
|
||||
}
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue
Block a user