Skip to content

Tom Workman | exercise-express assignment#17

Open
tworkman512 wants to merge 2 commits intopce-uw-jscript400:masterfrom
tworkman512:master
Open

Tom Workman | exercise-express assignment#17
tworkman512 wants to merge 2 commits intopce-uw-jscript400:masterfrom
tworkman512:master

Conversation

@tworkman512
Copy link

No description provided.

Copy link
Contributor

@bwreid bwreid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really excellent work, Tom!

const message = `Could not find vegetable with ID of ${id}`
next({ status: 404, message })
const message = `Could not find vegetable with ID of ${id}`;
next({ status: 404, message });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a return here will stop some error from showing up in the terminal.

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