Mongoose .find() is returning an object with keys that look like indices of an array instead of an array of objects

后端 未结 0 1208
粉色の甜心
粉色の甜心 2020-12-11 11:30

I am making a REST API using MERN and React keeps telling me that .map and .forEach are not functions for my getAll return data. I console logged the data type of my respons

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