not using template

This commit is contained in:
Miodec 2022-09-04 20:16:01 +02:00
parent 98e069ae7e
commit 93ab0c6116

View file

@ -256,10 +256,8 @@ export async function addResult(
);
if (didUserGetBanned) {
const mail = buildMonkeyMail({
getTemplate: () => ({
subject: "Banned",
body: "Your account has been automatically banned for triggering the anticheat system. If you believe this is a mistake, please contact support.",
}),
subject: "Banned",
body: "Your account has been automatically banned for triggering the anticheat system. If you believe this is a mistake, please contact support.",
});
UserDAL.addToInbox(
uid,