fixed event completed Workflow

This commit is contained in:
PxlLoewe
2025-06-06 12:32:19 -07:00
parent b1262c4278
commit fa6321b808
6 changed files with 101 additions and 101 deletions

View File

@@ -47,7 +47,6 @@ export const handleParticipantFinished = async (
id: participant.id,
},
data: {
completetionWorkflowFinished: true,
statusLog: {
push: {
event: "Berechtigungen und Badges vergeben",

View File

@@ -24,6 +24,7 @@ router.post("/handle-participant-finished", async (req, res) => {
},
},
});
console.log("Handeling Participant-completed", participant?.User.publicId);
if (!participant) {
res.status(404).json({ error: "Participant not found" });
return;