mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 01:55:10 +02:00
protect /setup and use links for button
This commit is contained in:
parent
7c9e57ef12
commit
41e531306d
11 changed files with 48 additions and 63 deletions
|
@ -1,4 +1,4 @@
|
|||
import { render } from "@react-email/components";
|
||||
import { render } from "@react-email/render";
|
||||
import { ReactElement } from "react";
|
||||
import emailClient from "@server/emails";
|
||||
import logger from "@server/logger";
|
||||
|
@ -21,7 +21,9 @@ export async function sendEmail(
|
|||
return;
|
||||
}
|
||||
|
||||
logger.debug("Rendering email templatee...")
|
||||
const emailHtml = await render(template);
|
||||
logger.debug("Done rendering email templatee")
|
||||
|
||||
const options = {
|
||||
from: opts.from,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue