Skip to content

Commit

Permalink
fix: 티클쿼리 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Jieun1ee committed Dec 2, 2024
1 parent e772b19 commit 9c3ab56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/ticle/ticle.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 9c3ab56

Please sign in to comment.