Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
This also fixes a compilation error with the new AWS version

Co-authored-by: Roberto Tyley <[email protected]>
  • Loading branch information
ioannakok and rtyley committed May 17, 2024
1 parent ff7d245 commit 835058c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/app/services/DynamoDB.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package services

import com.amazonaws.regions.{Region, Regions}
import com.amazonaws.services.dynamodbv2.{
AmazonDynamoDB,
AmazonDynamoDBAsync,
Expand All @@ -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()
Expand Down

0 comments on commit 835058c

Please sign in to comment.