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