Skip to content

Commit

Permalink
Fix http4s_CE22_12 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
msosnicki committed Jul 12, 2023
1 parent c4ba498 commit c8a771f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class SmithyHttp4sRouter[Alg[_[_, _, _, _, _]], Op[_, _, _, _, _], F[_]](
middleware: ServerEndpointMiddleware[F]
)(implicit effect: EffectCompat[F]) =
this(service, impl, entityCompiler, {
val errorHandler = ServerEndpointMiddleware.flatMapErrors(errorTransformation)
val errorHandler = ServerEndpointMiddleware.flatMapErrors(errorTransformation)(effect)
errorHandler |+| middleware |+| errorHandler
})

Expand Down

0 comments on commit c8a771f

Please sign in to comment.