Fix Attachment

This commit is contained in:
Jens Cornelsen
2025-04-24 09:59:28 +02:00
parent 38f77d862d
commit 56b6bcd1a1

View File

@@ -16,7 +16,7 @@ import { join } from "path";
import { APIError, defineApiRoute } from "astro-typesafe-api/server";
import { z } from "astro:content";
import { transport } from "#lib/mail.js";
import { Attachment } from 'nodemailer/lib/mailer';
import {Attachment} from "nodemailer/lib/mailer/index.js";
import { BASE_URI } from "#lib/constants.js";
import { getAnsichtsausweis, getDatenblatt, getAushang } from "#lib/server/ausweis.js";
import { PutObjectCommand } from "@aws-sdk/client-s3";