Hi Everyone!

In the next couple of lectures you will learn how to authorize a user by using the author property on a campground.

The seeded data in your seeds.js file does not have an author, so this will throw a Cannot read property 'equals' of undefined error if you try to view a seeded campground while logged in.

The solution for this is to comment out the seedDB() function call in your app.js file then delete any seeded campgrounds and comments from the database.

-------
Thanks,
Ian

Follow me on YouTube