Fix quoting in emails

This commit is contained in:
Girish Ramakrishnan
2020-03-07 19:12:39 -08:00
parent a3f3d86908
commit b32128bebf
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ function roleChanged(performedBy, eventId, user, callback) {
actionForAllAdmins([ performedBy, user.id ], function (admin, done) {
mailer.roleChanged(admin.email, user);
add(admin.id, eventId, `User '${user.displayName}'s role changed`, `User '${user.username || user.email || user.fallbackEmail}' now has the role '${user.role}'.`, done);
add(admin.id, eventId, `User '${user.displayName}'s role changed`, `User '${user.username || user.email || user.fallbackEmail}' now has the role ${user.role}.`, done);
}, callback);
}