Merge pull request #20188 from ramonlsouza/add-sub-names

refactor: add names to unnamed queries
This commit is contained in:
Ramón Souza 2024-05-07 14:14:54 -03:00 committed by GitHub
commit b709b410d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export interface WelcomeMsgsResponse {
}
export const GET_WELCOME_MESSAGE = gql`
query {
query getWelcomeMessage{
user_welcomeMsgs {
welcomeMsg
welcomeMsgForModerators

View File

@ -11,7 +11,7 @@ export interface UnreadChatsSubscriptionResponse {
}
export const UNREAD_CHATS_SUBSCRIPTION = gql`
subscription {
subscription unreadChatsSubscription {
chat(
where: {
totalUnread: { _gt: 0 },