merge fix v1.0.8.1 Browser lädt ständig die Seite neu wenn keine Linien existieren

This commit is contained in:
ISA
2025-02-12 14:51:17 +01:00
parent 72c57b3f88
commit 6f1df8db94
69 changed files with 1038 additions and 4298 deletions

View File

@@ -20,7 +20,7 @@ export default async function handler(req, res) {
const [results] = await connection.query(query);
if (results.length === 0) {
return res.status(404).json({ message: "Keine Einträge gefunden" });
return res.status(200).json({ warning: "Keine Einträge gefunden in readPoiTyp.js" });
}
res.status(200).json(results);