prettier
This commit is contained in:
@ -35,9 +35,7 @@ export function forgotPasswordMailer({ to, token }: ResetPasswordMailer) {
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
// TODO - send the production email, like this:
|
||||
// await postmark.sendEmail(msg)
|
||||
throw new Error(
|
||||
"No production email implementation in mailers/forgotPasswordMailer",
|
||||
);
|
||||
throw new Error("No production email implementation in mailers/forgotPasswordMailer");
|
||||
} else {
|
||||
// Preview email in the browser
|
||||
await previewEmail(msg);
|
||||
|
Reference in New Issue
Block a user