refactor: harden competition persistence type boundaries

This commit is contained in:
dahyeon committed 2026-07-12 20:18:48 +00:00
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 (