From 15ea56b1f791645a8dae62eca7d1ef01ea233dc4 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 27 Jul 2023 18:22:36 -0400 Subject: [PATCH] Ok nvm this is unfixable until the new catalog is out --- src/GenerateHtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GenerateHtml.cpp b/src/GenerateHtml.cpp index 43ee43f..6c04222 100644 --- a/src/GenerateHtml.cpp +++ b/src/GenerateHtml.cpp @@ -251,7 +251,7 @@ void generate_course_page(const std::string& course_id, std::cerr << "Generating course page for " << course_id << "..." << std::endl; std::string course_name = get_course_title(course_id,quatalog_data); std::string description; - const auto& catalog_entry = get_data(quatalog_data.catalog,course_id); + const auto& catalog_entry = quatalog_data.catalog[course_id]; const auto& prereqs_entry = get_data(quatalog_data.prerequisites,course_id); const auto& terms_offered = get_data(quatalog_data.terms_offered,course_id); const auto& latest_term = terms_offered["latest_term"].asString();