diff --git a/routes/wishlist/index.js b/routes/wishlist/index.js index 892b4a8..382fb0d 100644 --- a/routes/wishlist/index.js +++ b/routes/wishlist/index.js @@ -63,6 +63,7 @@ module.exports = (db) => { item.name = (productData ? productData.name : req.body.itemUrlOrName); item.addedBy = req.user._id; item.pledgedBy = (req.user._id === req.params.user ? undefined : req.user._id); + item.note = req.body.note; if (isUrl) item.url = potentialUrl; item.id = uuid(); const doc = await db.get(req.params.user);