query all props on add message subscription

This commit is contained in:
Moriz Wahl 2023-07-18 12:47:23 +02:00
parent eed89f8c4b
commit 81a08ff04e

View File

@ -38,17 +38,17 @@ export const chatMessageAdded = () => {
return gql`
subscription chatMessageAdded($userId: ID!) {
chatMessageAdded(userId: $userId) {
#_id
_id
id
# indexId
indexId
content
senderId
#author {
# id
#}
#username
#avatar
#date
author {
id
}
username
avatar
date
room {
id
}