diff --git a/iam/.env-example.env b/iam/.env-example.env index 374b587932..df2182daf3 100644 --- a/iam/.env-example.env +++ b/iam/.env-example.env @@ -43,7 +43,7 @@ GTC_STAKING_GRAPH_API_KEY= GTC_STAKING_ROUND=1 ATTESTATION_SIGNER_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000001 - +PASSPORT_SCORER_BACKEND=http://localhost:8002/ # Needs to match FE/APP equivalents in app/.env ALLO_SCORER_ID=3 SCORER_ENDPOINT=http://localhost:8002/ceramic-cache diff --git a/platforms/src/TrustaLabs/Providers/TrustaLabs.ts b/platforms/src/TrustaLabs/Providers/TrustaLabs.ts index 6709e97c73..4aa888632b 100644 --- a/platforms/src/TrustaLabs/Providers/TrustaLabs.ts +++ b/platforms/src/TrustaLabs/Providers/TrustaLabs.ts @@ -64,7 +64,7 @@ const createUpdateDBScore = async (address: string, score: number) => { const accessToken = process.env.CGRANTS_API_TOKEN; try { await axios.post( - `${process.env.SCORER_ENDPOINT}/trusta_labs/trusta-labs-score`, + `${process.env.PASSPORT_SCORER_BACKEND}trusta_labs/trusta-labs-score`, { address, score }, { headers: {