added more delay to moodle ID lookup

This commit is contained in:
PxlLoewe
2025-07-22 13:17:36 -07:00
parent 1d1bb713d2
commit 414e238216
4 changed files with 32 additions and 30 deletions

View File

@@ -51,7 +51,7 @@ export const GET = async (req: NextRequest) => {
participatingEvents.forEach(async (p) => {
await inscribeToMoodleCourse(p.Event.finisherMoodleCourseId!, moodleUser?.id);
});
}, 1000);
}, 10000);
return NextResponse.json({
...user,