Datentypen in Prod DB vorbereiten für release #69

Merged
PxlLoewe merged 56 commits from staging into release 2025-07-18 20:05:13 +00:00
Showing only changes of commit 280393b307 - Show all commits

View File

@@ -32,6 +32,7 @@ const syncMoodleIds = async () => {
};
const updateParticipantMoodleResults = async () => {
try {
const participantsMoodlePending = await prisma.participant.findMany({
where: {
finisherMoodleCurseCompleted: false,
@@ -77,6 +78,9 @@ const updateParticipantMoodleResults = async () => {
}
}),
);
} catch (error) {
console.error("Error updating participant Moodle results:", error);
}
};
CronJob.from({ cronTime: "0 * * * *", onTick: syncMoodleIds, start: true });