Added queries for Chats
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user