Mongoose - Version Error: No matching document found for id

前端 未结 4 1832
眼角桃花
眼角桃花 2020-12-12 01:59

Context: I have a Post Mongoose model that contains a csv_files array field to store csv strings. I make a fetch API

4条回答
  •  醉梦人生
    2020-12-12 02:21

    I deleted version property from requests for update at body.

    delete req.body.__v;

提交回复
热议问题