mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix notification added subscription
This commit is contained in:
parent
07d10c8e4c
commit
c9135d321d
@ -243,6 +243,7 @@ export const notificationAdded = () => {
|
|||||||
${userFragment}
|
${userFragment}
|
||||||
${commentFragment}
|
${commentFragment}
|
||||||
${postFragment}
|
${postFragment}
|
||||||
|
${groupFragment}
|
||||||
|
|
||||||
subscription notifications($userId: ID!) {
|
subscription notifications($userId: ID!) {
|
||||||
notificationAdded(userId: $userId) {
|
notificationAdded(userId: $userId) {
|
||||||
@ -251,6 +252,9 @@ export const notificationAdded = () => {
|
|||||||
reason
|
reason
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
to {
|
||||||
|
...user
|
||||||
|
}
|
||||||
from {
|
from {
|
||||||
__typename
|
__typename
|
||||||
... on Post {
|
... on Post {
|
||||||
@ -271,6 +275,12 @@ export const notificationAdded = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on Group {
|
||||||
|
...group
|
||||||
|
}
|
||||||
|
}
|
||||||
|
relatedUser {
|
||||||
|
...user
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user