-
Notifications
You must be signed in to change notification settings - Fork 451
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
Mitchell Robles - back-end-project-week #480
base: master
Are you sure you want to change the base?
Mitchell Robles - back-end-project-week #480
Conversation
… set up basic structure for endpoints
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.
Looks and works great!
@@ -20,6 +20,8 @@ You are required to showcase progress with at least 4 commits a day. This will l | |||
- Share your board with the project manager that has been assigned to you. If you have not been assigned yet, reach out to your Section Lead for guidance. | |||
- Add your Trello URL to your project's README.md file. Commit the change, push it to your repository & submit a pull request. | |||
|
|||
https://trello.com/b/R1umQ7aa/lambda-notes-backend-mitchell-robles |
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.
This board is private!
const { id } = req.params; | ||
|
||
db('notes').where({ id }).del() | ||
.then(note => { |
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.
This parameter is called note
, but is it actually? (It should be a count
of sorts, typically being 1
, of how many entries were deleted.)
@johnoro
Not as much done tonight as I was hoping. Had to some trouble shooting on my end