fix(settings): happier/less stern flash messages! (#38134)
This commit is contained in:
@ -134,7 +134,7 @@ function updateMyTheme(req, res, next) {
|
|||||||
return req.user
|
return req.user
|
||||||
.updateTheme(theme)
|
.updateTheme(theme)
|
||||||
.then(
|
.then(
|
||||||
() => res.sendFlash(alertTypes.info, 'Your theme has been updated'),
|
() => res.sendFlash(alertTypes.info, 'Your theme has been updated!'),
|
||||||
next
|
next
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -249,7 +249,7 @@ const updatePrivacyTerms = (req, res, next) => {
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
message:
|
message:
|
||||||
'We have updated your preferences. ' +
|
'We have updated your preferences. ' +
|
||||||
'You can now continue using freeCodeCamp.'
|
'You can now continue using freeCodeCamp!'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user