@mtgame/core 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/mtgame-core.umd.js +1 -1
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/media-api.js +2 -2
- package/esm5/api/media-api.js +2 -2
- package/fesm2015/mtgame-core.js +1 -1
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +1 -1
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -5680,7 +5680,7 @@ var MediaApi = /** @class */ (function () {
|
|
|
5680
5680
|
MediaApi.prototype.getGameMedia = function (gameId) {
|
|
5681
5681
|
return __awaiter(this, void 0, void 0, function () {
|
|
5682
5682
|
return __generator(this, function (_a) {
|
|
5683
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/media
|
|
5683
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/media/?size=1000").pipe(map(function (result) { return MediaItem.toFront(result); })).toPromise()];
|
|
5684
5684
|
});
|
|
5685
5685
|
});
|
|
5686
5686
|
};
|