From 3e2a5a5cf10747267793af66b7c89875d6952b41 Mon Sep 17 00:00:00 2001 From: Buildkite on behalf of Wellcome Collection Date: Tue, 30 Apr 2024 11:13:14 +0000 Subject: [PATCH] Apply auto-formatting rules --- .../scala/weco/api/items/services/SierraItemUpdater.scala | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/items/src/main/scala/weco/api/items/services/SierraItemUpdater.scala b/items/src/main/scala/weco/api/items/services/SierraItemUpdater.scala index f3a1edfbf..81bb6e86e 100644 --- a/items/src/main/scala/weco/api/items/services/SierraItemUpdater.scala +++ b/items/src/main/scala/weco/api/items/services/SierraItemUpdater.scala @@ -66,9 +66,11 @@ class SierraItemUpdater( for { itemEither <- sierraSource.lookupItemEntries(existingItems.keys.toSeq) - maybeAccessConditions: Map[SierraItemNumber, Option[ - DisplayAccessCondition - ]] = itemEither match { + maybeAccessConditions: Map[ + SierraItemNumber, + Option[ + DisplayAccessCondition + ]] = itemEither match { case Right(SierraItemDataEntries(_, _, entries)) => entries .map(item => {