Skip to main content

my_completion_for_module

Function my_completion_for_module 

Source
async fn my_completion_for_module(
    conn: &mut PgConnection,
    user_id: Uuid,
    course_module_id: Uuid,
) -> Result<Uuid, ControllerError>
Expand description

The caller’s completion for a module, as my_registration_completion_for_module, but only on the push path.

A completion the old path owns is a not-found: the enrolment answers only exist for the push path, and nothing should be stored against a completion that will never ask the question.