Welp...
This commit is contained in:
parent
bec7138edd
commit
1fe4a912cd
4 changed files with 10 additions and 3 deletions
|
@ -25,6 +25,12 @@ const config = {
|
||||||
fixStyle: "inline-type-imports",
|
fixStyle: "inline-type-imports",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/ban-ts-comment": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ts-ignore": "allow-with-description",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ interface EmailTemplateProps {
|
||||||
export const Goodbye: React.FC<Readonly<EmailTemplateProps>> = ({ name }) => (
|
export const Goodbye: React.FC<Readonly<EmailTemplateProps>> = ({ name }) => (
|
||||||
<div>
|
<div>
|
||||||
<h1>Welcome, {name}!</h1>
|
<h1>Welcome, {name}!</h1>
|
||||||
<p>We're sorry to see you go!</p>
|
<p>{"We're sorry to see you go!"}</p>
|
||||||
<p>
|
<p>
|
||||||
Your data has been deleted, including all room history, user data, votes,
|
Your data has been deleted, including all room history, user data, votes,
|
||||||
etc.
|
etc.
|
||||||
|
|
|
@ -144,7 +144,7 @@ export const userRouter = createTRPCRouter({
|
||||||
from: "no-reply@sprintpadawan.dev",
|
from: "no-reply@sprintpadawan.dev",
|
||||||
to: user.email,
|
to: user.email,
|
||||||
subject: "Sorry to see you go... 😭",
|
subject: "Sorry to see you go... 😭",
|
||||||
//@ts-ignore
|
//@ts-ignore: IDK why this doesn't work...
|
||||||
react: Goodbye({ name: user.name }),
|
react: Goodbye({ name: user.name }),
|
||||||
});
|
});
|
||||||
await deleteFromCache(client, env.APP_ENV, `kv_usercount_admin`);
|
await deleteFromCache(client, env.APP_ENV, `kv_usercount_admin`);
|
||||||
|
|
|
@ -58,7 +58,8 @@ export const authOptions: NextAuthOptions = {
|
||||||
from: "no-reply@sprintpadawan.dev",
|
from: "no-reply@sprintpadawan.dev",
|
||||||
to: user.email,
|
to: user.email,
|
||||||
subject: "🎉 Welcome to Sprint Padawan! 🎉",
|
subject: "🎉 Welcome to Sprint Padawan! 🎉",
|
||||||
//@ts-ignore
|
//@ts-ignore: IDK why this doesn't work...
|
||||||
|
|
||||||
react: Welcome({ name: user.name }),
|
react: Welcome({ name: user.name }),
|
||||||
});
|
});
|
||||||
await deleteFromCache(client, env.APP_ENV, `kv_userlist_admin`);
|
await deleteFromCache(client, env.APP_ENV, `kv_userlist_admin`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue