Skip to content

Conversation

@mitchellr92
Copy link

@johnoro

Not as much done tonight as I was hoping. Had to some trouble shooting on my end

Copy link

@johnoro johnoro left a 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!

- 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
Copy link

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 => {
Copy link

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.)

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.

2 participants