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

Mitchell Robles - back-end-project-week #480

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

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!

@@ -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
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