Why does mongoose keep pushing an empty object?

后端 未结 0 930
情话喂你
情话喂你 2020-12-22 20:25

So I\'m using mongoose to push a object (data) into an array (orderHistory).

But everytime the object is just an empty object, with no data.

I\'ve tried this u

相关标签:
回答
  • 消灭零回复
提交回复
热议问题