diff --git a/src/modules/rest/controllers/aggregates/global/rest.aggregate.global.victory.controller.ts b/src/modules/rest/controllers/aggregates/global/rest.aggregate.global.victory.controller.ts index 0d76536f..7afab51c 100644 --- a/src/modules/rest/controllers/aggregates/global/rest.aggregate.global.victory.controller.ts +++ b/src/modules/rest/controllers/aggregates/global/rest.aggregate.global.victory.controller.ts @@ -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') @@ -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 {