Skip to content

Commit

Permalink
feat(platforms): updates the scorer endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
aminah-io authored Aug 15, 2023
2 parents af0898b + 0ed8edd commit 5582c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iam/.env-example.env
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ GTC_STAKING_GRAPH_API_KEY=<your api key token>
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
Expand Down
2 changes: 1 addition & 1 deletion platforms/src/TrustaLabs/Providers/TrustaLabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 5582c55

Please sign in to comment.