mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -275,7 +275,7 @@ async function syncCompletedEntitiesToTaskProgress(userId, { lessonUuid, unitUui
|
||||
if (!newlyCompleted.length) return [];
|
||||
|
||||
// Check whether any impacted task now has ALL its read-only requirements satisfied —
|
||||
// tasks with any non-read requirement (upload_file/visit_link/submit_text/pass_quiz)
|
||||
// tasks with any non-read requirement (upload_file/visit_link/submit_text)
|
||||
// still need manual submission, so they're excluded from auto-turn-in.
|
||||
const taskIds = [...new Set(newlyCompleted.map((r) => r.task_id))];
|
||||
const completedTasks = [];
|
||||
|
||||
Reference in New Issue
Block a user