style: run prettier on entire codebase

This commit is contained in:
BOHA
2026-03-24 19:59:14 +01:00
parent 872be42107
commit 3c167cf5c4
148 changed files with 26740 additions and 13990 deletions

View File

@@ -1,14 +1,21 @@
import nodemailer from 'nodemailer';
import { config } from '../config/env';
import nodemailer from "nodemailer";
import { config } from "../config/env";
const transporter = nodemailer.createTransport({
sendmail: true,
newline: 'unix',
path: '/usr/sbin/sendmail',
newline: "unix",
path: "/usr/sbin/sendmail",
});
export async function sendMail(to: string, subject: string, html: string): Promise<boolean> {
const from = config.email.smtpFrom || config.email.contactFrom || 'web@boha-automation.cz';
export async function sendMail(
to: string,
subject: string,
html: string,
): Promise<boolean> {
const from =
config.email.smtpFrom ||
config.email.contactFrom ||
"web@boha-automation.cz";
try {
await transporter.sendMail({