mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-25 10:37:30 +08:00
fix(api-server): a typo in the info message for resubscribe (#50496)
This commit is contained in:
@@ -71,7 +71,7 @@ module.exports = function (app) {
|
||||
if (!unsubscribeId) {
|
||||
req.flash(
|
||||
'info',
|
||||
'We we unable to process this request, please check and try againÍ'
|
||||
'We we unable to process this request, please check and try again'
|
||||
);
|
||||
res.redirect(origin);
|
||||
}
|
||||
@@ -98,8 +98,7 @@ module.exports = function (app) {
|
||||
.then(() => {
|
||||
req.flash(
|
||||
'success',
|
||||
"We've successfully updated your email preferences. Thank you " +
|
||||
'for resubscribing.'
|
||||
"We've successfully updated your email preferences. Thank you for resubscribing."
|
||||
);
|
||||
return res.redirectWithFlash(origin);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user