refactor(plugins): async DB-touching methods; transactions through UnitOfWork

This commit is contained in:
jubnl
2026-09-22 00:00:53 +02:00
parent e413308227
commit e28dc6de28
68 changed files with 743 additions and 706 deletions
+1 -1
View File
@@ -621,7 +621,7 @@ export class AuthService {
}
}
await this.userCleanup.deleteUserCompletely(userId);
emitUserDeleted(userId); // let plugins erase their own per-user data
await emitUserDeleted(userId); // let plugins erase their own per-user data
return { success: true };
}