diff --git a/webapp/graphql/User.js b/webapp/graphql/User.js index 1432cd31c..f7fd3c940 100644 --- a/webapp/graphql/User.js +++ b/webapp/graphql/User.js @@ -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 + } } } }