Skip to main content

staff_facet

async fn staff_facet(
    conn: &mut PgConnection,
    app_config: &ApplicationConfiguration,
    course_id: Uuid,
    modules: &[CourseModule],
) -> ChatbotResult<StaffInfo>
Expand description

Staff contacts from role-based assignments, falling back to a best-effort Sisu lookup only when there are none and a Sisu code exists. Course instances also carry a static teacher-in-charge contact, but that field goes stale and is not surfaced here.