diff --git a/common/app/model/CollectionConfig.scala b/common/app/model/CollectionConfig.scala index d12150f9a9b..b00209afa24 100644 --- a/common/app/model/CollectionConfig.scala +++ b/common/app/model/CollectionConfig.scala @@ -23,6 +23,7 @@ final case class CollectionConfig( hideShowMore: Boolean, displayHints: Option[DisplayHints], platform: Option[CollectionPlatform] = None, + aspectRatio: Option[String], ) object CollectionConfig { @@ -53,6 +54,8 @@ object CollectionConfig { None } + val aspectRatio: String = fapi.CollectionConfig.getAspectRatio(config).label + CollectionConfig( displayName = config.displayName, backfill = config.backfill, @@ -73,6 +76,7 @@ object CollectionConfig { hideShowMore = config.hideShowMore, displayHints = config.displayHints.map(DisplayHints.make), platform = Some(config.platform), + aspectRatio = Some(aspectRatio), ) } diff --git a/common/test/common/facia/PressedCollectionBuilder.scala b/common/test/common/facia/PressedCollectionBuilder.scala index 4a9dc049156..8b4aa0d5a3e 100644 --- a/common/test/common/facia/PressedCollectionBuilder.scala +++ b/common/test/common/facia/PressedCollectionBuilder.scala @@ -36,6 +36,7 @@ object PressedCollectionBuilder { showTimestamps = false, hideShowMore, displayHints = None, + aspectRatio = Some(""), ) PressedCollection( diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 8974c0df116..5c3134f2b11 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -7,7 +7,7 @@ object Dependencies { val awsVersion = "1.12.758" val awsSdk2Version = "2.26.27" val capiVersion = "32.0.0" - val faciaVersion = "13.0.0" + val faciaVersion = "13.1.0" val dispatchVersion = "0.13.1" val romeVersion = "1.0" val jerseyVersion = "1.19.4"