From 91cd56cd1bb91d9ab19422d5450c32af3d681b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Greinhofer?= Date: Mon, 2 Sep 2024 17:10:46 -0500 Subject: [PATCH] Fix API URL (#236) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Uses the new API endpoint to update analysis metadata. Signed-off-by: Rémy Greinhofer --- lambdas/src/bna-fargate-run.rs | 2 +- lambdas/src/bna-setup.rs | 2 +- lambdas/src/bna-teardown.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lambdas/src/bna-fargate-run.rs b/lambdas/src/bna-fargate-run.rs index 91ba7c5..4dfe301 100644 --- a/lambdas/src/bna-fargate-run.rs +++ b/lambdas/src/bna-fargate-run.rs @@ -35,7 +35,7 @@ async fn function_handler(event: LambdaEvent) -> Result) -> Result) -> Result<(), Error> { let api_hostname = get_aws_parameter_value("BNA_API_HOSTNAME").await?; // Prepare the API URL. - let url = format!("{api_hostname}/bnas/analysis"); + let url = format!("{api_hostname}/ratings/analysis"); // Authenticate the service account. let auth = authenticate_service_account()