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 just ran into the same issue and fixed it by rewriting blog_details like the following. This was a very confusing problem when trying to learn this material, and it happens if you simply try to access the URL of a deleted blog entry.
blog_details controller returns "null" if he couldn't find a blog in the database.
Simple solution:
Add "if (null === result) throw err;" to blogController.js on line 17.
The text was updated successfully, but these errors were encountered: