Skip to main content

teacher_confirm_suspected_cheater

Function teacher_confirm_suspected_cheater 

Source
async fn teacher_confirm_suspected_cheater(
    user: AuthUser,
    path: Path<(Uuid, Uuid)>,
    pool: Data<PgPool>,
) -> ControllerResult<Json<()>>
Expand description

POST /api/v0/main-frontend/courses/${course.id}/suspected-cheaters/confirm/:user_id - confirms the student cheated (sets status to ‘ConfirmedCheating’) and fails the student.