Arcdeamonofire / project-2

Project 2 of WDI-Remote: Building Your First Full-stack Application - Forum
0 stars 0 forks source link

BUG: Only one post and comment is being saved into the collections for user and post respectively #17

Closed Arcdeamonofire closed 8 years ago

Arcdeamonofire commented 8 years ago

This is a problem I only noticed after being to try to post comments. All the posts show up just fine, because I am pulling them from the posts collection. I went into the db and saw that the user collection only stores the latest post. I think it might be an issue with how I'm interacting with it.

Arcdeamonofire commented 8 years ago

Yep it was a push issue :/ I set up the whole thing wrong and wasn't using .push and so it was saving over what was already there each time. DURPITY DURP :D well at least its fixed!