2
mraiur
8y

Changed the nodejs template engine because i though its unable to parse nested object. After the second engine had the same error i checked the properties of the mongoose "populated" object and its mongooses fault.. wasted 4-5 hours of debugging just because of a missleading console.log ... FUCK!

Comments
  • 0
    The solution is to call .lean() before .exec
Add Comment