Fix report processed emails
This commit is contained in:
parent
cf90ebb47f
commit
c47812c706
@ -76,12 +76,12 @@ export async function onRequestPost(context: RequestContext) {
|
||||
|
||||
if (user?.email)
|
||||
await sendEmail(
|
||||
user?.email,
|
||||
user.email,
|
||||
context.env.MAILGUN_API_KEY,
|
||||
"Report Processed",
|
||||
"report_processed",
|
||||
{
|
||||
username: report.user?.username as string,
|
||||
username: user.username as string,
|
||||
},
|
||||
);
|
||||
else if (pushNotificationData)
|
||||
|
Loading…
x
Reference in New Issue
Block a user