Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions NHL-MyTeam-Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
// Pacific Division: ANA, CGY, EDM, LAK, SJS, SEA, VAN, VGK
const MY_NHL_TEAM = "ENTER_TEAM_ABBREVIATION_HERE";

// Start year of current season
// For season 2025-26, the value must be "20252026"
// For season 2026-27, the value must be "20262027"
const CURRENT_SEASON = "20252026";

// Indicator if livescores should be shown.
// If you don't want to be spoilered set it to false.
// Default: true
Expand Down Expand Up @@ -823,7 +818,7 @@ function filterStandingsByAbbreviation(sAbbreviation, oStandings) {
* @return {Object}
*/
async function fetchScheduleData() {
const sUrl = `https://api-web.nhle.com/v1/club-schedule-season/${MY_NHL_TEAM}/${CURRENT_SEASON}`;
const sUrl = `https://api-web.nhle.com/v1/club-schedule-season/${MY_NHL_TEAM}/now`;
const oRequest = new Request(sUrl);
const oData = await oRequest.loadJSON();

Expand Down