From 66d0dade03992c911aea7c8d09c83283552659ba Mon Sep 17 00:00:00 2001 From: Sam Wing Date: Sat, 16 Nov 2019 23:32:13 -0500 Subject: [PATCH] added = saved --- routes/wishlist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/wishlist/index.js b/routes/wishlist/index.js index 164c7a3..ffa12e9 100644 --- a/routes/wishlist/index.js +++ b/routes/wishlist/index.js @@ -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) => {