fix(settings): happier/less stern flash messages! (#38134)

This commit is contained in:
Steve Phillips
2020-02-03 01:57:41 -08:00
committed by GitHub
parent cfbb3f64c4
commit 093f3f8a04

View File

@ -134,7 +134,7 @@ function updateMyTheme(req, res, next) {
return req.user
.updateTheme(theme)
.then(
() => res.sendFlash(alertTypes.info, 'Your theme has been updated'),
() => res.sendFlash(alertTypes.info, 'Your theme has been updated!'),
next
);
}
@ -249,7 +249,7 @@ const updatePrivacyTerms = (req, res, next) => {
type: 'success',
message:
'We have updated your preferences. ' +
'You can now continue using freeCodeCamp.'
'You can now continue using freeCodeCamp!'
});
});
};