Skip to content

Commit

Permalink
refactor: separate seasons into their own parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-1 committed Feb 4, 2025
1 parent 5b33d47 commit 2a9e98d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/frontend/src/app/api/course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ const fetchCourseInfosByPage = async (
}

params.append("numSemesters", fceAggregation.numSemesters.toString());
params.append("counted", JSON.stringify(fceAggregation.counted));
params.append("spring", fceAggregation.counted.spring.toString());
params.append("summer", fceAggregation.counted.summer.toString());
params.append("fall", fceAggregation.counted.fall.toString());

const response = await axios.get(url, {
headers: {
Expand Down

0 comments on commit 2a9e98d

Please sign in to comment.