Skip to content

Commit

Permalink
Fix for scala 3
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Dec 15, 2022
1 parent 2294266 commit cbbb0a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,11 @@ class ServerBasicTests[F[_], OPTIONS, ROUTE](
endpoint.get
.in("customer" / path[Int]("customer_id").validate(Validator.min(10)).onDecodeFailureNextEndpoint)
.out(stringBody)
.serverLogic((_: Int) => pureResult("e1".asRight[Unit])),
.serverLogic[F]((_: Int) => pureResult("e1".asRight[Unit])),
endpoint.get
.in("customer" / path[String]("customer_id"))
.out(stringBody)
.serverLogic((_: String) => pureResult("e2".asRight[Unit]))
.serverLogic[F]((_: String) => pureResult("e2".asRight[Unit]))
)
)
)
Expand Down

0 comments on commit cbbb0a3

Please sign in to comment.