added = saved

This commit is contained in:
Sam Wing 2019-11-16 23:32:13 -05:00
parent 69ad5c7c1a
commit 66d0dade03

View file

@ -182,7 +182,7 @@ module.exports = (db) => {
}
doc.wishlist = wishlist;
await db.put(doc);
req.flash('success', 'Successfully added note!');
req.flash('success', `Successfully saved note!`);
return res.redirect(`/wishlist/${req.params.user}`);
});
router.post('/:user/note/remove/:id', verifyAuth(), async (req, res) => {