Skip to content

Commit

Permalink
Revert change to victories, we want that to be optional so it pulls i…
Browse files Browse the repository at this point in the history
…n all brackets on purpose.
  • Loading branch information
Maelstromeous committed Jun 1, 2022
1 parent 64a5f5e commit 9ed227e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import Range from '../../../../../services/mongo/range';
import {DATE_IMPLICIT_QUERIES} from '../../common/rest.date.query';
import {RedisCacheService} from '../../../../../services/cache/redis.cache.service';
import Pagination from '../../../../../services/mongo/pagination';
import {MandatoryIntPipe} from '../../../pipes/MandatoryIntPipe';

@ApiTags('Global Victory Aggregates')
@Controller('aggregates')
Expand All @@ -42,7 +41,7 @@ export default class RestGlobalVictoryAggregateController {
async findAll(
@Query('world', OptionalIntPipe) world?: World,
@Query('zone', OptionalIntPipe) zone?: Zone,
@Query('bracket', MandatoryIntPipe) bracket?: Bracket,
@Query('bracket', OptionalIntPipe) bracket?: Bracket,
@Query('dateFrom', OptionalDatePipe) dateFrom?: Date | undefined,
@Query('dateTo', OptionalDatePipe) dateTo?: Date | undefined,
): Promise<GlobalVictoryAggregate[]> {
Expand Down

0 comments on commit 9ed227e

Please sign in to comment.