Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix(websoc-scraper-v2): 🐛 misc
Browse files Browse the repository at this point in the history
  • Loading branch information
ecxyzzy committed Nov 20, 2023
1 parent b8f58df commit 5fc3ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/websoc-scraper-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ async function scrape(name: string, term: Term) {
]),
);

logger.info(`Retrieved ${enrollmentHistory.length} enrollment history entries`);
logger.info(`Retrieved ${Object.keys(enrollmentHistory).length} enrollment history entries`);

for (const { data } of Object.values(res)) {
const key = `${data.year}-${data.quarter}-${data.sectionCode}`;
Expand Down

0 comments on commit 5fc3ebe

Please sign in to comment.