diff --git a/src/graphql/client/notifier.ts b/src/graphql/client/notifier.ts index edbd58c5..dc44feba 100644 --- a/src/graphql/client/notifier.ts +++ b/src/graphql/client/notifier.ts @@ -19,13 +19,16 @@ export const notifierClient = { }, markSeen: async (notification_id: number): Promise => { + // call when notification is clicked await notifierClient.private.mutation(markSeenMutation, { notification_id }).toPromise() }, markSeenAfter: async (options: MutationMark_Seen_AfterArgs): Promise => { + // call when 'mark all as seen' cliecked await notifierClient.private.mutation(markSeenAfterMutation, options).toPromise() }, markSeenThread: async (thread: string): Promise => { + // call when notification group is clicked await notifierClient.private.mutation(markThreadSeenMutation, { thread }).toPromise() }, }