What's Changed
- Added an optional
navCourses
option to.refresh()
for getting all courses (including those with no active tasks) from the 'My Courses' dropdown, usually found in the navigation bar. May not be supported for some sites.
// to include courses with no active tasks in the calendar
await moodle.refresh(cookies, { navCourses: true });
Full Changelog: v3.0.0...v3.1.0