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

Disabling notifications #80

Merged
merged 9 commits into from
Feb 26, 2020
Merged

Disabling notifications #80

merged 9 commits into from
Feb 26, 2020

Conversation

MakMuftic
Copy link
Member

@MakMuftic MakMuftic commented Feb 24, 2020

Resolves #48

Copy link
Member

@morrigan morrigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine but we are missing an additional endpoint for disabling notifications that frontend can use.

This can be a separate endpoint or use the existing endpoint for editing node (better). The existing endpoint for updating node is PUT "/user/node"which then needs renaming and expanding to support updating notifications settings too.

src/Controller/Api/NodeController.ts Show resolved Hide resolved
src/Controller/Api/NodeControllerValidation.ts Outdated Show resolved Hide resolved
src/Models/Node.ts Outdated Show resolved Hide resolved
src/Services/NodeUptimeNotificationService.ts Outdated Show resolved Hide resolved
@morrigan morrigan merged commit 9aa3878 into master Feb 26, 2020
@morrigan morrigan deleted the feature/disabling-notifications branch February 26, 2020 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabling notifications
3 participants