Remove chess stat hoarding

This commit is contained in:
2024-12-03 08:09:42 -07:00
parent fa502a45c6
commit 6115d2c76c

View File

@@ -8,14 +8,14 @@ import { MinioService } from 'src/minio/minio.service';
export class HoardingService {
private readonly logger: Logger = new Logger(HoardingService.name);
constructor(public readonly minioService: MinioService) {
this.hoardChessStats();
// this.hoardChessStats();
}
@Cron('0 0 1 * * *')
async hoardChessStats() {
await this.hoardUserChessStats('letmutchessplayer');
await this.hoardUserChessStats('archyotype');
}
// @Cron('0 0 1 * * *')
// async hoardChessStats() {
// await this.hoardUserChessStats('letmutchessplayer');
// await this.hoardUserChessStats('archyotype');
// }
async hoardUserChessStats(user: string) {
this.logger.log(`Hoarding chess.com stats for ${user}`);