Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
chore: fetching total trustpilot reviews (#6657)
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-deriv authored Jan 16, 2024
1 parent f3dd574 commit bd6ca92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/trustpilot.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const fetchTrustpilotData = async () => {
stars: result.score?.stars || 0,
trustScore: result.score?.trustScore || 0,
numberOfReviews:
result.numberOfReviews?.usedForTrustScoreCalculation.toLocaleString() || '',
result.numberOfReviews?.total.toLocaleString() || '',
}

const fileContent = JSON.stringify(tpData,null,2)
Expand Down
2 changes: 1 addition & 1 deletion src/data/trustpilot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stars": 4.5,
"trustScore": 4.6,
"numberOfReviews": "39,159"
"numberOfReviews": "30,000"
}

0 comments on commit bd6ca92

Please sign in to comment.