@mtgame/core 0.0.76 → 0.0.77
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/api/media-api.d.ts +1 -0
- package/bundles/mtgame-core.umd.js +3 -0
- 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 +4 -1
- package/esm5/api/media-api.js +4 -1
- package/fesm2015/mtgame-core.js +3 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +3 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/api/media-api.d.ts
CHANGED
|
@@ -5528,6 +5528,9 @@
|
|
|
5528
5528
|
if (filters.sort) {
|
|
5529
5529
|
params = params.set('sort', filters.sort);
|
|
5530
5530
|
}
|
|
5531
|
+
if (filters.teamId) {
|
|
5532
|
+
params = params.set('team_id', filters.teamId.toString());
|
|
5533
|
+
}
|
|
5531
5534
|
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/media/", { params: params, observe: 'response' })
|
|
5532
5535
|
.pipe(operators.map(function (response) { return ({
|
|
5533
5536
|
total: +response.headers.get('X-Page-Count'),
|