diff --git a/apps/api/src/ticle/ticle.service.ts b/apps/api/src/ticle/ticle.service.ts index 4aa865a5..1339bc52 100644 --- a/apps/api/src/ticle/ticle.service.ts +++ b/apps/api/src/ticle/ticle.service.ts @@ -206,7 +206,7 @@ export class TicleService { .createQueryBuilder('ticle') .select('COUNT(*) as count') .where('ticle.ticleStatus IN (:...statuses)', { - status: isOpen ? [TicleStatus.OPEN, TicleStatus.IN_PROGRESS] : [TicleStatus.CLOSED], + statuses: isOpen ? [TicleStatus.OPEN, TicleStatus.IN_PROGRESS] : [TicleStatus.CLOSED], }); const totalTicleCount = await countQuery.getRawOne();