diff --git a/server/src/main/scala/za/co/absa/atum/server/model/CheckpointItemWithPartitioningFromDB.scala b/server/src/main/scala/za/co/absa/atum/server/model/CheckpointItemWithPartitioningFromDB.scala index 5158b10b..73653938 100644 --- a/server/src/main/scala/za/co/absa/atum/server/model/CheckpointItemWithPartitioningFromDB.scala +++ b/server/src/main/scala/za/co/absa/atum/server/model/CheckpointItemWithPartitioningFromDB.scala @@ -111,9 +111,7 @@ object CheckpointItemWithPartitioningFromDB { .map(_.idCheckpoint) .distinct - val result = orderedCheckpointIds.map { id => - CheckpointItemWithPartitioningFromDB.fromItemsToCheckpointWithPartitioningDTO(groupedItems(id)) - } + val result = orderedCheckpointIds.map { id => fromItemsToCheckpointWithPartitioningDTO(groupedItems(id)) } val errors = result.collect { case Left(err) => err } if (errors.nonEmpty) {