I have the following code:
Something.findByIdAndUpdate( req.query.id, { $inc: { available: -1 } }, { new: true, useFindAndModify: false }, (e