Skip to content

Commit

Permalink
Update BlackoutMatch in blackout.ts
Browse files Browse the repository at this point in the history
Based on the work I've been doing, I believe the type of playerStats should be PlayerStats rather than BaseStats.  I made this change in my local project and it's working correctly with live API calls.  Check it out and see what you think.
  • Loading branch information
ErikPetersenDev authored and Jake Richards committed Jan 17, 2019
1 parent 7f476ed commit 25f14f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blackout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export interface BlackoutMatch {
gameType: string;
playerCount: number;
playlistName: any;
playerStats: BaseStats;
playerStats: PlayerStats;
draw: boolean;
privateMatch: boolean;
}
Expand All @@ -237,4 +237,4 @@ export interface MatchesData {
export interface RawBlackoutMatchesObject {
status: string;
data: MatchesData;
}
}

0 comments on commit 25f14f7

Please sign in to comment.