Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman committed Jun 13, 2024
1 parent 4a280fc commit 9847005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion http4sClient/src/main/scala/HttpRpcTransport.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ case class HttpRequestConfig(
) {
def toRequest[F[_]](requestPath: List[String], entityBody: EntityBody[F]): Request[F] = Request[F](
method = Method.POST,
uri = baseUri / requestPath.mkString("/"),
uri = requestPath.foldLeft(baseUri)(_ / _),
httpVersion = httpVersion,
headers = headers,
body = entityBody,
Expand Down
2 changes: 1 addition & 1 deletion http4sServer/src/main/scala/HttpRpcRoutes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.http4s.dsl.Http4sDsl
import fs2.Stream
import sloth.{Router, ServerFailure}

class HttpRpcRoutes {
object HttpRpcRoutes {

def apply[PickleType: EntityDecoder[F, *]: EntityEncoder[F, *], F[_]: Concurrent](
router: Router[PickleType, F],
Expand Down

0 comments on commit 9847005

Please sign in to comment.