Add get user notification preference #57
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This Pull Request adds an endpoint to give users the opportunity of getting their notification preferences
Description of Task to be completed?
This Pull Request adds an endpoint to give users the opportunity of getting their notification preferences
How should this be manually tested?
Database Setup (Postgres - Sequelize )
remember to change the password in config.js file for development
The above command will migrate all table to your database
The above command will revert any migration.
Any background context you want to provide?
Prior to this addition, users could only retrieve unseen notifications and couldn't get their notification preferences
What are the relevant pivotal tracker stories?
N/A
Screenshots (if appropriate)
N/A
Questions:
N/A