Skip to content

Hard-coded '2020' breaks standings simulator for 2021 season #190

Description

@WrongSandwich

Not sure if this is still an active project, but the line below is preventing the standings simulator from working with the current fantasy season.

I believe replacing 2020 with new Date().getFullYear() should fix the issue.

const fetchRankings = async (leagueId, seasonId = '2020') => {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions