Closed mStirner closed 1 month ago
Cast item ._id
to real ObjectId
:
let documents = JSON.parse(Buffer.concat(chunks).toString()).map((item) => {
item._id = new ObjectId(item._id);
return item;
});
The restore override the
ObjectId
to a string. This breaks everything. Update items (via HTTP or direct inside plugins via.update
) does not work then anymore