added = saved
This commit is contained in:
parent
69ad5c7c1a
commit
66d0dade03
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue