Skip to content

Commit

Permalink
chore: redis클린업서비스 logger적용
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongHyeon0409 committed Nov 29, 2024
1 parent 56de1dd commit f5e5dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/schedule/trade-clean-up.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class TradeCleanupService {
const dbTradeIds = await this.tradeRepository.getAllTradeIds();
await this.redisRepository.cleanupOrphanTrades(dbTradeIds);
} else {
console.log('Cron job skipped: NODE_ENV is not production');
this.logger.log('Cron job skipped: NODE_ENV is not production');
}
}
}

0 comments on commit f5e5dea

Please sign in to comment.