SpartanConnect / restful-api-backend

node.js & Express RESTful API
1 stars 0 forks source link

User object post count non-functional #3

Closed nrlysek closed 7 years ago

nrlysek commented 7 years ago

The post count object is not being correctly added (or even collected for that matter). Need to fix. Not very high priority.

nrlysek commented 7 years ago

I have localized the problem to my implementation of fetching user data: querying the users table instead of using the getUserById utility function.

nrlysek commented 7 years ago

Resolved in https://github.com/SpartanConnect/restful-api-backend/commit/bc38a196b24d303f38ae620052e54983016e9ca4