fix-query

This commit is contained in:
tonyrewin 2022-11-02 16:51:57 +03:00
parent 6b53746c5f
commit b8ff05f70a
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ export default gql`
users {
slug
name
pic
userpic
}
title
createdAt

View File

@ -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
}
}
`