Skip to content

Commit

Permalink
add missing fold method
Browse files Browse the repository at this point in the history
  • Loading branch information
dblatcher committed Dec 13, 2024
1 parent da36eb2 commit dca6bde
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ object FaciaContentUtils {
curatedContent => curatedContent.properties.boostLevel,
supportingCuratedContent => supportingCuratedContent.properties.boostLevel,
linkSnap => linkSnap.properties.boostLevel,
latestSnap => latestSnap.properties.boostLevel
latestSnap => latestSnap.properties.boostLevel,
referenceSnap => referenceSnap.properties.boostLevel
)
def showBoostedHeadline(fc: FaciaContent): Boolean = fold(fc)(
curatedContent => curatedContent.properties.showBoostedHeadline,
Expand Down

0 comments on commit dca6bde

Please sign in to comment.