webapp/src/graphql/mutation/mark-notification-as-read.ts
Ilya Y 2674717f04
Feature/notifications (#244)
* WIP

* WIP

* WIP

* packaga-lock.json

* WIP

* WIP

* WIP

* WIP

* v0.1

* debug code removed

---------

Co-authored-by: Igor Lobanov <igor.lobanov@onetwotrip.com>
2023-10-14 14:39:24 +03:00

10 lines
208 B
TypeScript

import { gql } from '@urql/core'
export default gql`
mutation MarkNotificationAsReadMutation($notificationId: Int!) {
markNotificationAsRead(notification_id: $notificationId) {
error
}
}
`