bugfix/Revert check resultWithMissingHeaderCheck of BG 2

This commit is contained in:
Marko Milić 2025-07-16 12:57:17 +02:00
parent 47e3a29b51
commit 0da0e0d1d7

View File

@ -78,7 +78,7 @@ object BerlinGroupCheck extends MdcLoggable {
} else None
}
val : Option[(Box[User], Option[CallContext])] =
val resultWithMissingHeaderCheck: Option[(Box[User], Option[CallContext])] =
if (missingHeaders.nonEmpty) {
val message = if (missingHeaders.size == 1)
ErrorMessages.MissingMandatoryBerlinGroupHeaders.replace("headers", "header")