add group type for mark notifications as read

This commit is contained in:
Moriz Wahl 2023-03-16 16:55:30 +01:00
parent d8df95d093
commit 033630e8e3

View File

@ -163,6 +163,7 @@ export const markAsReadMutation = (_i18n) => {
${userFragment}
${commentFragment}
${postFragment}
${groupFragment}
mutation ($id: ID!) {
markAsRead(id: $id) {
@ -188,6 +189,9 @@ export const markAsReadMutation = (_i18n) => {
}
}
}
... on Group {
...group
}
}
}
}
@ -199,6 +203,7 @@ export const markAllAsReadMutation = (_i18n) => {
${userFragment}
${commentFragment}
${postFragment}
${groupFragment}
mutation {
markAllAsRead {
@ -224,6 +229,9 @@ export const markAllAsReadMutation = (_i18n) => {
}
}
}
... on Group {
...group
}
}
}
}