From 47dc943ac8a4cc8d97af93df88b2f0720fa38bf8 Mon Sep 17 00:00:00 2001 From: Anna Beddow Date: Tue, 26 Sep 2023 10:45:12 +0100 Subject: [PATCH] Add Europe to ophan API Edition list --- common/app/services/OphanApi.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/app/services/OphanApi.scala b/common/app/services/OphanApi.scala index 36f03dfe9cc2..cd39992f3758 100644 --- a/common/app/services/OphanApi.scala +++ b/common/app/services/OphanApi.scala @@ -1,6 +1,6 @@ package services -import common.editions.{Au, Uk, Us, International} +import common.editions.{Au, Europe, International, Uk, Us} import java.net.URLEncoder import java.time.LocalDate @@ -39,6 +39,7 @@ class OphanApi(wsClient: WSClient)(implicit executionContext: ExecutionContext) case Uk => "gb" case Us => "us" case International => "international" + case Europe => "international" } // getBody is the general function that queries Ophan