Skip to content

Steven Fiero.Advanced.2#2

Open
ssfiero wants to merge 5 commits intoAustinCodingAcademy:masterfrom
ssfiero:master
Open

Steven Fiero.Advanced.2#2
ssfiero wants to merge 5 commits intoAustinCodingAcademy:masterfrom
ssfiero:master

Conversation

@ssfiero
Copy link

@ssfiero ssfiero commented Feb 23, 2017

No description provided.

src/index.js Outdated

// Add MovieRoutes to the application
app.use(MovieRoutes);
app.use( (err, request, response) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This error middleware won't work properly, need to supply 4 arguments, not just 3

(err, req, res, next)

Need to turn off the eslint rule for this block

@ssfiero
Copy link
Author

ssfiero commented Feb 26, 2017

Updated middleware!

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