Skip to content

Commit

Permalink
Merge pull request #1587 from guardian/fh-reinstate-general-election-…
Browse files Browse the repository at this point in the history
…alert

Update election notifications title
  • Loading branch information
frankie297 authored May 23, 2024
2 parents a77fbec + 96f1283 commit 1375276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/updates/BreakingNewsUpdate.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object BreakingNewsUpdate {

def createPayload(trail: ClientHydratedTrail, email: String): BreakingNewsPayload = {
val title = trail.topic match {
case Some("uk-general-election") => Some("General election 2019")
case Some("uk-general-election") => Some("UK general election")
case Some(topic) if (SportBreakingNewsTopics.map(_.name) :+ SportGlobalTopicName).contains(topic) => Some("Sport breaking news")
case _ => None
}
Expand Down

0 comments on commit 1375276

Please sign in to comment.