Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Commit 4977899

Browse files
committed
course import now checks proper Shnaton year
1 parent 86e0f5f commit 4977899

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Closure_Front_End/src/huji-import/ParsedCoursesTables.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ const processCourses = async (parsedCourses, http) => {
1818
const res = await http.get(`/courses`, {
1919
params: {
2020
course_id: course.course_id,
21-
// TODO: do not hard-core years, scrape Shnaton for several years
22-
data_year: 2021 //course.year
21+
data_year: course.year
2322
}
2423
});
2524
if (res.data.count === 0) {

0 commit comments

Comments
 (0)