mirror of
https://github.com/quatalog/quatalog.git
synced 2024-11-08 08:04:24 +00:00
Ok nvm this is unfixable until the new catalog is out
This commit is contained in:
parent
74c6b418ed
commit
15ea56b1f7
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue