Skip to content

Commit

Permalink
fix team name props
Browse files Browse the repository at this point in the history
  • Loading branch information
d-fischer committed Apr 8, 2021
1 parent a9215c0 commit d37ca64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/twitch/src/API/Helix/Team/HelixTeam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ export class HelixTeam {
* The name of the team.
*/
get name(): string {
return this._data.id;
return this._data.team_name;
}

/**
* The display name of the team.
*/
get displayName(): string {
return this._data.id;
return this._data.team_display_name;
}

/**
Expand Down

0 comments on commit d37ca64

Please sign in to comment.