diff --git a/project/Dependencies.scala b/project/Dependencies.scala index a0f5530..b416699 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -3,7 +3,7 @@ import sbt._ object Dependencies { private[Dependencies] object versionOf { - val http4s = "0.18.24" + val http4s = "0.20.3" val monix = "3.0.0-RC1" val scalaz = "7.3.0-M27" val cats = "1.6.1" diff --git a/src/main/scala/http4s/extend/syntax/Http4sServiceSyntax.scala b/src/main/scala/http4s/extend/syntax/Http4sServiceSyntax.scala index 9021d65..71f7351 100644 --- a/src/main/scala/http4s/extend/syntax/Http4sServiceSyntax.scala +++ b/src/main/scala/http4s/extend/syntax/Http4sServiceSyntax.scala @@ -3,10 +3,10 @@ package http4s.extend.syntax import cats.data.{Kleisli, OptionT} import cats.syntax.flatMap._ import cats.{FlatMap, Functor} -import org.http4s.{HttpService, Request, Response} +import org.http4s.{HttpRoutes, Request, Response} private[syntax] trait Http4sServiceSyntax { - implicit def httpServiceSyntax[F[_]](s: HttpService[F]): HttpServiceOps[F] = new HttpServiceOps(s) + implicit def httpServiceSyntax[F[_]](s: HttpRoutes[F]): HttpServiceOps[F] = new HttpServiceOps(s) } /**