@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.
@@ -5315,6 +5315,9 @@ var MediaApi = /** @class */ (function () {
5315
5315
  if (filters.sort) {
5316
5316
  params = params.set('sort', filters.sort);
5317
5317
  }
5318
+ if (filters.teamId) {
5319
+ params = params.set('team_id', filters.teamId.toString());
5320
+ }
5318
5321
  return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/media/", { params: params, observe: 'response' })
5319
5322
  .pipe(map(function (response) { return ({
5320
5323
  total: +response.headers.get('X-Page-Count'),