added more delay to moodle ID lookup
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user