From bb17bc735c775566d96b8fa6bc9112699b58310a Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Sat, 4 Oct 2025 00:07:32 +0200 Subject: [PATCH] added landingpage to email --- backend/routes/api.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/backend/routes/api.js b/backend/routes/api.js index 103eeef..64e9a06 100644 --- a/backend/routes/api.js +++ b/backend/routes/api.js @@ -91,6 +91,11 @@ function buildLoanEmail({ user, items, startDate, endDate, createdDate }) { )} +

+ + Zur Übersicht aller Ausleihen + +

Diese E-Mail wurde automatisch vom Ausleihsystem gesendet. Bitte nicht antworten.

@@ -145,7 +150,6 @@ function sendMailLoan(user, items, startDate, endDate, createdDate) { console.log("sendMailLoan called"); } -// ...existing code... const formatDateTime = (value) => { if (value == null) return "N/A"; @@ -177,7 +181,6 @@ const formatDateTime = (value) => { return "N/A"; }; -// ...existing code... router.post("/login", async (req, res) => { const result = await loginFunc(req.body.username, req.body.password);