refactor(auth, files): async DB-touching methods; transactions through UnitOfWork

This commit is contained in:
jubnl
2026-09-22 01:08:22 +02:00
parent 4df2d83137
commit 7940b7ff84
82 changed files with 1020 additions and 990 deletions
@@ -84,7 +84,7 @@ beforeAll(async () => {
svc = new AdminService(
dbs,
new AddonsService(dbs),
new PasskeyService(dbs, auth, webauthn),
new PasskeyService(dbs, auth, webauthn, await createTestUnitOfWork(dbs.connection)),
auth,
permissions,
await makeNotificationsService(dbs, realtime),