fixed event completed Workflow
This commit is contained in:
@@ -47,7 +47,6 @@ export const handleParticipantFinished = async (
|
||||
id: participant.id,
|
||||
},
|
||||
data: {
|
||||
completetionWorkflowFinished: true,
|
||||
statusLog: {
|
||||
push: {
|
||||
event: "Berechtigungen und Badges vergeben",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user