Added queries for Chats
This commit is contained in:
parent
9d665cf4e9
commit
7fa3f21e30
@ -0,0 +1,6 @@
|
||||
query GetChats($id: ID!, $pw: String!){
|
||||
chats(user: $id, passwordHash: $pw){
|
||||
id
|
||||
users
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
query GetGroupChats($id: ID!, $pw: String!){
|
||||
groupChats(user: $id, passwordHash: $pw){
|
||||
id
|
||||
users
|
||||
title
|
||||
description
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user