Skip to content

Commit

Permalink
chore(api): updating path for score lambda (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianHymer authored Sep 27, 2024
1 parent ced0a76 commit 8198e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/ceramic_cache/api/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def calc_score_community(
scorer_id: int,
address: str,
) -> DetailedScoreResponse:
return get_detailed_score_response_for_address(address, scorer_id)
return handle_get_ui_score(address, scorer_id)


class FailedVerificationException(APIException):
Expand Down
2 changes: 1 addition & 1 deletion infra/aws/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ buildHttpLambdaFn(
name: "cc-v1-score-GET-0",
memorySize: 512,
dockerCmd: ["aws_lambdas.scorer_api_passport.v1.score_GET.handler"],
pathPatterns: ["/ceramic-cache/score/*"],
pathPatterns: ["/ceramic-cache/score/0x*"],
httpRequestMethods: ["GET"],
listenerPriority: 1007,
},
Expand Down

0 comments on commit 8198e09

Please sign in to comment.