Skip to content

Commit

Permalink
Updated recon result model to have score as number
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalali committed Nov 14, 2024
1 parent d7be92d commit 195490d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helper/reconciliation-service.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export class ReconciliationServiceHelper {
resultCandidate.description = { values: descriptionValues };

//SCORE
resultCandidate.score = currentBinding["score"]?.value;
const score = currentBinding["score"]?.value;
resultCandidate.score = Number(score);

//TODO match is incorrect when query contains accented characters
if (query) {
Expand Down

0 comments on commit 195490d

Please sign in to comment.