From 835058c8e93f39eab5169c00445bd54c9563985e Mon Sep 17 00:00:00 2001 From: Ioanna Kokkini Date: Fri, 17 May 2024 12:47:36 +0100 Subject: [PATCH] Remove unused variable This also fixes a compilation error with the new AWS version Co-authored-by: Roberto Tyley --- common/app/services/DynamoDB.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/app/services/DynamoDB.scala b/common/app/services/DynamoDB.scala index 8c5420c42272..c8c045387ce8 100644 --- a/common/app/services/DynamoDB.scala +++ b/common/app/services/DynamoDB.scala @@ -1,6 +1,5 @@ package services -import com.amazonaws.regions.{Region, Regions} import com.amazonaws.services.dynamodbv2.{ AmazonDynamoDB, AmazonDynamoDBAsync, @@ -11,7 +10,6 @@ import conf.Configuration object DynamoDB { private lazy val credentials = Configuration.aws.mandatoryCredentials - private lazy val region = Region.getRegion(Regions.fromName(Configuration.aws.region)) lazy val asyncClient: AmazonDynamoDBAsync = AmazonDynamoDBAsyncClient .asyncBuilder()