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
@@ -257,7 +257,7 @@ export class AdminService {
if (!userToDel) return { error: 'User not found', status: 404 };
await this.userCleanup.deleteUserCompletely(userToDel.id);
emitUserDeleted(userToDel.id); // let plugins erase their own per-user data
await emitUserDeleted(userToDel.id); // let plugins erase their own per-user data
return { email: userToDel.email };
}