fix: weitere fehlende Umlaute (Hinzufuegen, Eintraege, Passwoerter, erhaelt, enthaelt etc)

This commit is contained in:
christian
2026-05-26 14:58:08 +00:00
parent f8a2d5cb0a
commit 0265b43010
10 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ router.post('/:kunde_id', upload.single('foto'), async (req, res) => {
const [[k]] = await pool.query('SELECT id FROM kunden WHERE id=? AND tenant_id=?',
[req.params.kunde_id, req.user.tenant_id]);
if (!k) {
// Datei aufraeumen
// Datei aufräumen
try { fs.unlinkSync(req.file.path); } catch {}
return res.status(404).json({ error: 'Kunde nicht gefunden' });
}