diff --git a/src/lib/consolidateResults/consolidate.ts b/src/lib/consolidateResults/consolidate.ts index f5367e9..881c354 100644 --- a/src/lib/consolidateResults/consolidate.ts +++ b/src/lib/consolidateResults/consolidate.ts @@ -33,14 +33,15 @@ export const consolidateResults = async ( if ( consolidatedContriburosList.find( (item) => - item.contributor.email == isContributorInArray.contributor.email, + item.contributor.email.toLowerCase() == + isContributorInArray.contributor.email.toLowerCase(), ) ) { consolidatedContriburosList[ consolidatedContriburosList.findIndex( (item) => - item.contributor.email == - isContributorInArray.contributor.email, + item.contributor.email.toLowerCase() == + isContributorInArray.contributor.email.toLowerCase(), ) ] = isContributorInArray; } else {