diff --git a/src/Client.ts b/src/Client.ts index 7c791281..316dcb1c 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -902,7 +902,7 @@ class Client extends EventEmitter { throw new Error('Request returned an empty body'); } - return new EpicgamesServerStatus(this, epicgamesServerStatus.data); + return new EpicgamesServerStatus(this, epicgamesServerStatus); } /** @@ -931,7 +931,7 @@ class Client extends EventEmitter { responseType: 'arraybuffer', }); - const streamData: BlurlStreamData = await parseBlurlStream(blurlFile.data); + const streamData: BlurlStreamData = await parseBlurlStream(blurlFile); const streamMetaData = { subtitles: streamData.subtitles ? JSON.parse(streamData.subtitles) : {},