Skip to content

Commit b39af03

Browse files
committed
fix: score calculation not taking into account seasons
1 parent a9e1a76 commit b39af03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ export const getScoresNormalDistribution = async function(prisma: PrismaClient,
390390
coalition_id: coalitionId,
391391
created_at: {
392392
lte: untilDate,
393+
gte: bloc.begin_at,
393394
},
394395
},
395396
_sum: {

0 commit comments

Comments
 (0)