mongoose "update" doesnt work unless i use ".then" mongoose "update" doesnt work unless i use ".then" mongoose mongoose

mongoose "update" doesnt work unless i use ".then"


Maybe try using .exec?

res.updateOne({translate: req.body.translation}).exec();


matomo