-
Notifications
You must be signed in to change notification settings - Fork 0
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
Added backend for labelling topic as answered by professor #28
Conversation
Pull Request Test Coverage Report for Build 11283988348Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
resolves #8 Created an attribute to the database, 'answered', by updating the database in the Created a function addAnswered in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good! You made all the necessary changes to the database schema as well as the API to accommodate the inclusion of an answered
field. The function to check if a post has been answered by an admin in the src/topics/posts.js
file also looks good.
Not completed code, but current code for developing the backend of labeling topics as answered or unanswered. create.js, data.js, and posts.js under src/topics were modified. Since the code is still buggy and incomplete, it should not be merged into the main branch.
This PR Resolves #8