Function close_assignment

Source
pub async fn close_assignment(
    __arg0: State<AppState>,
    __arg1: Path<(i64, i64)>,
) -> impl IntoResponse
Expand description

PUT /api/modules/:module_id/assignments/:assignment_id/close

Transition an assignment from Open to Closed

Only works if current status is Open.