Skip to content

Commit

Permalink
Scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfurey committed Jan 14, 2025
1 parent 4a41ba5 commit 994dc0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions app/controllers/BaseFaciaController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ package controllers
import java.util.Locale
import com.gu.pandomainauth.action.{AuthActions, UserRequest}
import com.gu.pandomainauth.model.AuthenticatedUser
import com.gu.pandomainauth.{PanDomain, PanDomainAuthSettingsRefresher, S3BucketLoader}
import com.gu.pandomainauth.{
PanDomain,
PanDomainAuthSettingsRefresher,
S3BucketLoader
}
import com.gu.permissions.{PermissionsConfig, PermissionsProvider}
import conf.ApplicationConfiguration
import logging.Logging
Expand Down Expand Up @@ -32,7 +36,10 @@ abstract class BaseFaciaControllerComponents(context: Context)
PanDomainAuthSettingsRefresher(
domain = config.pandomain.domain,
system = config.pandomain.service,
S3BucketLoader.forAwsSdkV1(config.aws.s3Client, "pan-domain-auth-settings")
S3BucketLoader.forAwsSdkV1(
config.aws.s3Client,
"pan-domain-auth-settings"
)
)

lazy val permissions = PermissionsProvider(
Expand Down
4 changes: 3 additions & 1 deletion app/services/AwsEndpoints.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package services

import com.amazonaws.services.s3.AmazonS3.{ENDPOINT_PREFIX => S3Endpoint}
import com.amazonaws.services.cloudwatch.AmazonCloudWatch.{ENDPOINT_PREFIX => CloudWatch}
import com.amazonaws.services.cloudwatch.AmazonCloudWatch.{
ENDPOINT_PREFIX => CloudWatch
}
import com.amazonaws.regions.RegionUtils
import conf.ApplicationConfiguration

Expand Down

0 comments on commit 994dc0c

Please sign in to comment.