Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BE - A user can delete a notification #46

Closed
smainar opened this issue Oct 21, 2019 · 0 comments
Closed

BE - A user can delete a notification #46

smainar opened this issue Oct 21, 2019 · 0 comments

Comments

@smainar
Copy link
Collaborator

smainar commented Oct 21, 2019

Remove Notification

  • Deletes a notification from the DB.

Required Fields

  • id

Request:

mutation {
  removeNotification(
    input: {
      id: 8
    })
  {
    notification {
      id
      active
      userId
    }
  }
}

Response:

{
  "data": {
    "removeNotification": {
      "notification": {
        "id": "8",
        "active": false,
        "userId": 4
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant