diff options
Diffstat (limited to 'src/tasks/removeExpiredPunishements.ts')
-rw-r--r-- | src/tasks/removeExpiredPunishements.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tasks/removeExpiredPunishements.ts b/src/tasks/removeExpiredPunishements.ts index 6662292..8197cc5 100644 --- a/src/tasks/removeExpiredPunishements.ts +++ b/src/tasks/removeExpiredPunishements.ts @@ -8,6 +8,7 @@ export default class RemoveExpiredPunishmentsTask extends BushTask { runOnStart: true }); } + public override async exec() { const expiredEntries = await ActivePunishment.findAll({ where: { |