Skip to main content

staff_facet

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

Staff contacts from role-based assignments plus a best-effort Sisu lookup per UH course code, since Sisu is the only up-to-date source of who teaches a university course. Course instances also carry a static teacher-in-charge contact, but that field goes stale and is not surfaced here.