refactor: harden competition persistence type boundaries
This commit is contained in:
1 parent
ec92494211
commit
7ea2002975
7 files changed
+127
-62
No files matched your search
@@ -161,7 +161,7 @@ export class CompetitionBootstrapService {
|
||||
}
|
||||
|
||||
await session.commitTransaction();
|
||||
return competition as CompetitionDocument;
|
||||
return competition;
|
||||
} catch (error) {
|
||||
await session.abortTransaction().catch(() => undefined);
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user