Skip to main content

has_acknowledged

Function has_acknowledged 

Source
pub async fn has_acknowledged(
    conn: &mut PgConnection,
    user_id: Uuid,
    course_id: Uuid,
) -> ModelResult<bool>
Expand description

Whether the given user has acknowledged the AI-usage notice for the course language group the given course belongs to (any language version of the course counts).