Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed Mar 4, 2024
1 parent e44d62d commit 1b034e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Check warning on line 55 in webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala

View check run for this annotation

Codecov / codecov/patch

webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala#L54-L55

Added lines #L54 - L55 were not covered by tests
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."))

Check warning on line 57 in webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala

View check run for this annotation

Codecov / codecov/patch

webapi/src/main/scala/org/knora/webapi/slice/admin/api/model/ProjectsEndpointsRequestsAndResponses.scala#L57

Added line #L57 was not covered by tests
}
}

Expand Down

0 comments on commit 1b034e8

Please sign in to comment.