Skip to content

Commit

Permalink
fix: fix contactReachability_average
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannNumericite committed Dec 4, 2024
1 parent 670ebbf commit 6960c23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp-backoffice/src/server/routers/answer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1150,8 +1150,7 @@ export const answerRouter = router({
const [, answer_text] = sb.key.split('#');
return sum + ((answer_text === 'Oui' && sb.doc_count) || 0);
}, 0) /
contactReachability_count) *
10;
contactReachability_count);

const contactSatisfaction_count = contactSatisfactionBucket.reduce(
(sum, sb) => sum + sb.doc_count,
Expand Down

0 comments on commit 6960c23

Please sign in to comment.