From 904b61467d74bf374cf4a18d05f3ddf5e3a1e9a6 Mon Sep 17 00:00:00 2001 From: Thi Date: Tue, 30 Aug 2016 12:24:33 +0800 Subject: [PATCH] Fix typo --- routes/lists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/lists.js b/routes/lists.js index 33bf3925..90330761 100644 --- a/routes/lists.js +++ b/routes/lists.js @@ -405,7 +405,7 @@ router.post('/subscription/unsubscribe', passport.parseForm, passport.csrfProtec req.flash('danger', err && err.message || err || 'Could not unsubscribe user'); return res.redirect('/lists/subscription/' + list.id + '/edit/' + subscription.cid); } - req.flash('success', subscription.email + ' was successfully subscribed from your list'); + req.flash('success', subscription.email + ' was successfully unsubscribed from your list'); res.redirect('/lists/view/' + list.id); }); });