diff --git a/__tests__/e2e/match_v5.test.ts b/__tests__/e2e/match_v5.test.ts index 977650b..379b28c 100644 --- a/__tests__/e2e/match_v5.test.ts +++ b/__tests__/e2e/match_v5.test.ts @@ -42,6 +42,7 @@ describe("E2E", () => { expect(resp).toContainAllKeys(["metadata", "info"]); expect(resp.info).toContainAllKeys([ + "endOfGameResult", "gameCreation", "gameDuration", "gameId", diff --git a/src/@types/index.ts b/src/@types/index.ts index 681169e..a287f25 100644 --- a/src/@types/index.ts +++ b/src/@types/index.ts @@ -1108,6 +1108,7 @@ export namespace RiotAPITypes { } export interface MatchInfoDTO { + endOfGameResult: string; gameCreation: number; gameDuration: number; gameId: number; diff --git a/src/index.ts b/src/index.ts index 8e25682..65ca903 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1517,7 +1517,7 @@ export class RiotAPI { tournamentCode, }: { tournamentCode: string; - }): Promise => + }): Promise => this.request( PlatformId.AMERICAS, RiotAPITypes.METHOD_KEY.TOURNAMENT_V5.GET_TOURNAMENT_GAME_DETAILS,