Skip to content

Commit

Permalink
chore: merge main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Jun 12, 2024
2 parents dec7d89 + 3268b82 commit 7bff29f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions common/app/model/PressedPage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,10 @@ case class PressedPage(
item <- pressedCollection.curatedPlusBackfillDeduplicated
id <- {
item match {
case curatedContent: pressed.CuratedContent => {
curatedContent.properties.maybeContent match {
case Some(content) => content.metadata.sectionId.map(_.value) ++ content.tags.tags.map(_.id)
case None => Nil
}
}
case curatedContent: pressed.CuratedContent =>
curatedContent.properties.maybeContent
.map(content => content.metadata.sectionId.map(_.value) ++ content.tags.tags.map(_.id))
.getOrElse(Nil)
case _ => Nil
}
}
Expand Down

0 comments on commit 7bff29f

Please sign in to comment.