refactor(server): cron jobs (#2067)

This commit is contained in:
Jason Rasmussen
2023-03-24 08:19:48 -04:00
committed by GitHub
parent 1efc74dabc
commit e36b620020
5 changed files with 15 additions and 29 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ export class UserService {
return { admin, password, provided: !!providedPassword };
}
async handleUserDeleteCheck() {
async handleQueueUserDelete() {
const users = await this.userRepository.getDeletedUsers();
for (const user of users) {
if (this.isReadyForDeletion(user)) {