From 680912ee3c817def361321af838c0944920f4d7b Mon Sep 17 00:00:00 2001 From: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:05:10 +0530 Subject: [PATCH] Update EndpointClient.scala --- .../main/scala/zio/http/endpoint/internal/EndpointClient.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zio-http/shared/src/main/scala/zio/http/endpoint/internal/EndpointClient.scala b/zio-http/shared/src/main/scala/zio/http/endpoint/internal/EndpointClient.scala index 9faf38065c..498e75a737 100644 --- a/zio-http/shared/src/main/scala/zio/http/endpoint/internal/EndpointClient.scala +++ b/zio-http/shared/src/main/scala/zio/http/endpoint/internal/EndpointClient.scala @@ -26,7 +26,7 @@ import zio.http.endpoint._ private[endpoint] final case class EndpointClient[P, I, E, O, M <: EndpointMiddleware]( endpointRoot: URL, endpoint: Endpoint[P, I, E, O, M], - codecMapping: Map[Int, Codec[Any, Throwable, E]], + codecMapping: Map[Int, Codec[Response, Throwable, E]] ) { def execute(client: Client, invocation: Invocation[P, I, E, O, M])( mi: invocation.middleware.In,