Skip to content

Commit

Permalink
Remove Europe experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rowanne Kabalan committed Sep 21, 2023
1 parent c00f222 commit b78f253
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/app/common/Edition.scala
Original file line number Diff line number Diff line change
@@ -86,7 +86,9 @@ object Edition {
// Fastly does not have switch information so we will always try and set the edition to Europe
// if a user is in CoE and then fallback to INT edition in Frontend if that user is not part of the experiment.
.map(edition =>
if (edition.equalsIgnoreCase(editions.Europe.id) && !EuropeNetworkFrontSwitch.isSwitchedOn) editions.International.id else edition,
if (edition.equalsIgnoreCase(editions.Europe.id) && !EuropeNetworkFrontSwitch.isSwitchedOn)
editions.International.id
else edition,
)
.getOrElse(defaultEdition.id)
}

0 comments on commit b78f253

Please sign in to comment.