Merge pull request #20188 from ramonlsouza/add-sub-names
refactor: add names to unnamed queries
This commit is contained in:
commit
b709b410d5
@ -6,7 +6,7 @@ export interface WelcomeMsgsResponse {
|
||||
}
|
||||
|
||||
export const GET_WELCOME_MESSAGE = gql`
|
||||
query {
|
||||
query getWelcomeMessage{
|
||||
user_welcomeMsgs {
|
||||
welcomeMsg
|
||||
welcomeMsgForModerators
|
||||
|
@ -11,7 +11,7 @@ export interface UnreadChatsSubscriptionResponse {
|
||||
}
|
||||
|
||||
export const UNREAD_CHATS_SUBSCRIPTION = gql`
|
||||
subscription {
|
||||
subscription unreadChatsSubscription {
|
||||
chat(
|
||||
where: {
|
||||
totalUnread: { _gt: 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user