fix issues in core

This commit is contained in:
2025-12-23 11:49:47 +01:00
parent 2854ae3c5c
commit 11492d1ff2
26 changed files with 257 additions and 53 deletions

View File

@@ -189,7 +189,7 @@ describe('DashboardOverviewUseCase', () => {
getMembership: async (leagueId: string, driverIdParam: string): Promise<LeagueMembership | null> => {
return (
memberships.find(
m => m.leagueId === leagueId && m.driverId === driverIdParam,
m => m.leagueId.toString() === leagueId && m.driverId.toString() === driverIdParam,
) ?? null
);
},