improved OSM Element selection

This commit is contained in:
PxlLoewe
2025-06-03 15:50:20 -07:00
parent 56856664a7
commit 0f50bf1db8
10 changed files with 118 additions and 154 deletions

View File

@@ -318,6 +318,17 @@ router.post("/:id/validate-hpg", async (req, res) => {
});
return;
}
const newMission = await prisma.mission.update({
where: {
id: Number(id),
},
data: {
hpgValidationState: "PENDING",
},
});
io.to("dispatchers").emit("update-mission", newMission);
res.json({
message: "HPG validierung gestartet",
});