Skip to content

API Data is wrong #3292

@tannerli

Description

@tannerli

Current Behavior
https://api.opendota.com/api/matches/8569010025 has bad draft data: 13 actions are assigned to dire, and only 11 actions to radiant. The web frontend seems to work properly.

Expected behavior/code
The first action, "Ban Snapfire", should be attributed to Radiant. active_team: 2, that is.

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

{
  "version": 22,
  "match_id": 8569010025,
  "draft_timings": [
    {
      "order": 1,
      "pick": false,
      "active_team": 3,
      "hero_id": 128,
      "player_slot": null,
      "extra_time": 130,
      "total_time_taken": 21
    },
    {
      "order": 2,
      "pick": false,
      "active_team": 3,
      "hero_id": 53,
      "player_slot": null,
      "extra_time": 33,
      "total_time_taken": 117
    },
    {
      "order": 3,
      "pick": false,
      "active_team": 3,
      "hero_id": 43,
      "player_slot": null,
      "extra_time": 129,
      "total_time_taken": 4
    }
    // snip
  ]
}
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions