You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the route generator to create a route called doglordsApi and this created a handler function named doglords-api. Which is fine, but then it puts this line in the router:
I used the route generator to create a route called
doglordsApi
and this created a handler function nameddoglords-api
. Which is fine, but then it puts this line in the router:Router.prototype.doglords-api = require('./controllers/doglords-api.js');
Which will actually fail to run due to the
-
character.The text was updated successfully, but these errors were encountered: