From bd6ca92ac7fe43a3c4bea4c535d1e9598fba009c Mon Sep 17 00:00:00 2001 From: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Date: Tue, 16 Jan 2024 13:37:17 +0400 Subject: [PATCH] chore: fetching total trustpilot reviews (#6657) --- scripts/trustpilot.js | 2 +- src/data/trustpilot.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/trustpilot.js b/scripts/trustpilot.js index fdfa5b93a30..ce9ebb4c9a3 100644 --- a/scripts/trustpilot.js +++ b/scripts/trustpilot.js @@ -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) diff --git a/src/data/trustpilot.json b/src/data/trustpilot.json index 5e19624b3bb..d4bedf88004 100644 --- a/src/data/trustpilot.json +++ b/src/data/trustpilot.json @@ -1,5 +1,5 @@ { "stars": 4.5, "trustScore": 4.6, - "numberOfReviews": "39,159" + "numberOfReviews": "30,000" }