diff --git a/atom-publisher-lib/src/main/scala/com/gu/atom/util/JsonSupport.scala b/atom-publisher-lib/src/main/scala/com/gu/atom/util/JsonSupport.scala index d9132e9..0834f8f 100644 --- a/atom-publisher-lib/src/main/scala/com/gu/atom/util/JsonSupport.scala +++ b/atom-publisher-lib/src/main/scala/com/gu/atom/util/JsonSupport.scala @@ -67,7 +67,7 @@ object JsonSupport { val nestedDataFieldName = atomType.toLowerCase //Special case for commonsDivision because the scrooge enum value loses the casing - if (data(nestedDataFieldName).nonEmpty || nestedDataFieldName == "commonsdivision") c.value + if (data(nestedDataFieldName).nonEmpty || nestedDataFieldName == "commonsdivision" || nestedDataFieldName == "tempfootballcompetition") c.value else { //Add the union type name under `data` val newData = JsonObject.fromIterable(Seq(nestedDataFieldName -> dataJson)) diff --git a/project/BuildVars.scala b/project/BuildVars.scala index f003701..4d88b2e 100644 --- a/project/BuildVars.scala +++ b/project/BuildVars.scala @@ -2,7 +2,7 @@ import sbt._ object BuildVars { lazy val awsVersion = "1.12.680" - lazy val contentAtomVersion = "12.0.1" + lazy val contentAtomVersion = "12.1.0-PREVIEW.add-new-atom-for-match-day.2026-07-15T1141.302c1611" lazy val scroogeVersion = "22.1.0" lazy val playVersion = "3.0.10" lazy val mockitoVersion = "4.11.0"