Curse whoever came up with the INQR code

This commit is contained in:
powe97 2023-07-27 18:24:55 -04:00
parent 15ea56b1f7
commit 6bdd4f6944

View file

@ -222,7 +222,7 @@ Json::Value get_data(const Json::Value& data,
out[key] = itws[key];
if(out[key].isObject()) out[key]["prefix"] = "ITWS";
}
} else if(course_id.substr(0,6) == "INQR") {
} else if(course_id.substr(0,4) == "INQR") {
const auto& inqr = data[course_id];
course_id.replace(0,4,"IHSS");
const auto& ihss = data[course_id];