diff --git a/bag_replicator/src/main/scala/weco/storage_service/bag_replicator/Main.scala b/bag_replicator/src/main/scala/weco/storage_service/bag_replicator/Main.scala index ed5fd21e5..97833dd5a 100644 --- a/bag_replicator/src/main/scala/weco/storage_service/bag_replicator/Main.scala +++ b/bag_replicator/src/main/scala/weco/storage_service/bag_replicator/Main.scala @@ -60,7 +60,7 @@ object Main extends WellcomeTypesafeApp { CloudWatchBuilder.buildCloudWatchMetrics(config) implicit val sqsClient: SqsAsyncClient = - SqsAsyncClient.builder().build()use + SqsAsyncClient.builder().build() implicit val lockDao: DynamoLockDao = DynamoLockDaoBuilder.buildDynamoLockDao(config)