fix-scheme

This commit is contained in:
2022-11-08 18:50:28 +03:00
parent 9052872c87
commit 5bf3621724
5 changed files with 17 additions and 12 deletions

View File

@@ -197,8 +197,8 @@ type Mutation {
type Query {
# inbox
myChats: [Chat]!
loadChat(chatId: String!, offset: Int, amount: Int): [Message]!
myChats: Result!
loadChat(chatId: String!, offset: Int, amount: Int): Result!
# auth
isEmailUsed(email: String!): Boolean!
@@ -487,7 +487,7 @@ type Message {
}
type Chat {
id: Int!
id: String!
createdAt: Int!
createdBy: User!
updatedAt: Int!