Skip to content

Commit

Permalink
chore : 알림 주석 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
publdaze committed Oct 23, 2023
1 parent 4144553 commit 840bf6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/buildings/floors/cans/cans.service.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Injectable } from '@nestjs/common';
import { BuildingsRepository } from 'src/buildings/buildings.repository';
import { UsersRepository } from '../../../users/users.repository';
import { Cron, CronExpression } from '@nestjs/schedule';
import { User } from '../../../users/entities/user.entity';

@Injectable()
export class CansService {
Expand Down Expand Up @@ -50,7 +48,7 @@ export class CansService {
});
}

@Cron(CronExpression.EVERY_5_SECONDS)
/* @Cron(CronExpression.EVERY_5_SECONDS)
handleCron() {
console.log('Called when the current second is 5');
this.userRepository
Expand Down Expand Up @@ -162,5 +160,5 @@ export class CansService {
})
.then(() => console.log('send!'))
.catch((err) => console.log(err));
}
} */
}

0 comments on commit 840bf6f

Please sign in to comment.