From 1b034e8fb8ef95f9e1c012d3ffe2925aed4f3eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kleinb=C3=B6lting?= Date: Mon, 4 Mar 2024 16:50:08 +0100 Subject: [PATCH] fmt --- .../api/model/ProjectsEndpointsRequestsAndResponses.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala b/webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala index ec985a9512..a3ab66465f 100644 --- a/webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala +++ b/webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala @@ -53,7 +53,8 @@ object ProjectsEndpointsRequestsAndResponses { (size, watermark) match { case (Some(size), None) => ZIO.succeed(size) case (None, Some(watermark)) => ZIO.succeed(RestrictedView.Watermark.from(watermark.value)) - case _ => ZIO.fail(BadRequestException("Specify either the size or the watermark; if none was provided, include one.")) + case _ => + ZIO.fail(BadRequestException("Specify either the size or the watermark; if none was provided, include one.")) } }