fix bug that prevented sending of emails to admin addresses (#8832)

This commit is contained in:
Alys
2017-06-22 22:33:27 +01:00
committed by Sabe Jones
parent 39a112b605
commit a642d94443
2 changed files with 2 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ api.deleteUser = {
await user.remove();
if (feedback) {
txnEmail(TECH_ASSISTANCE_EMAIL, 'admin-feedback', [
txnEmail({email: TECH_ASSISTANCE_EMAIL}, 'admin-feedback', [
{name: 'PROFILE_NAME', content: user.profile.name},
{name: 'UUID', content: user._id},
{name: 'EMAIL', content: getUserInfo(user, ['email']).email},