Merge pull request #20588 from ramonlsouza/improve-cursor-subscription

refactor: remove unused data in cursor subscription
This commit is contained in:
Gustavo Trott 2024-06-26 17:27:58 -03:00 committed by GitHub
commit ea2bfa11d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,11 +148,11 @@ export const CURRENT_PAGE_WRITERS_QUERY = gql`
export const cursorUserSubscription = gql`
subscription CursorSubscription {
pres_page_cursor(where: {isCurrentPage: {_eq: true}}) {
pres_page_cursor(
where: {isCurrentPage: {_eq: true}}
order_by: { userId: asc }
) {
userId
isCurrentPage
pageId
presentationId
user {
name
presenter