Skip to content

Commit

Permalink
Fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Dec 2, 2023
1 parent b12ae02 commit ef01b98
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ import org.http4s.headers.Cookie
import org.http4s.headers.`Set-Cookie`

object ApiGatewayProxyHandler {
def apply[F[_]: Concurrent: ApiGatewayProxyInvocation](
def apply[F[_]: Concurrent: ApiGatewayProxyV2Invocation](
routes: HttpRoutes[F]): F[Option[ApiGatewayProxyStructuredResultV2]] = httpRoutes(routes)

def httpRoutes[F[_]: Concurrent: ApiGatewayProxyInvocation](
def httpRoutes[F[_]: Concurrent: ApiGatewayProxyV2Invocation](
routes: HttpRoutes[F]): F[Option[ApiGatewayProxyStructuredResultV2]] = httpApp(
routes.orNotFound)

def httpApp[F[_]: Concurrent: ApiGatewayProxyInvocation](
def httpApp[F[_]: Concurrent: ApiGatewayProxyV2Invocation](
app: HttpApp[F]): F[Option[ApiGatewayProxyStructuredResultV2]] =
for {
event <- Invocation.event
Expand Down

0 comments on commit ef01b98

Please sign in to comment.