Skip to content

Commit

Permalink
fix: update:catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
mathhulk committed Nov 5, 2024
1 parent dffa3c4 commit 3811dd3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1,376 deletions.
2 changes: 1 addition & 1 deletion apps/backend/src/scripts/update-catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ const initialize = async () => {
await updateCourses();

const currentTerms = await TermModel.find({
temporalPosition: { $or: ["Current", "Next"] },
temporalPosition: { $in: ["Current", "Future"] },
}).lean();

console.log("\n=== UPDATE CLASSES ===");
Expand Down
Loading

0 comments on commit 3811dd3

Please sign in to comment.