Skip to content

Commit

Permalink
refactor: Nil is the empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Jun 12, 2024
1 parent e083fbb commit 48a1ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/app/model/PressedPage.scala
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ case class PressedPage(
case curatedContent: pressed.CuratedContent => {
curatedContent.properties.maybeContent match {
case Some(content) => content.metadata.sectionId.map(_.value) ++ content.tags.tags.map(_.id)
case None => List.empty
case None => Nil
}
}
case _ => Nil
Expand Down

0 comments on commit 48a1ea7

Please sign in to comment.