mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix bug that prevented sending of emails to admin addresses (#8832)
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user