Skip to content

Commit

Permalink
Use ZIO response
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Jan 26, 2022
1 parent dc0d80f commit 6c8f051
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ object Main extends App {
.exitCode
}

private def app(response: Response) = Http.response(response)
private def app(response: Response) = Http.responseZIO(UIO(response))

private def server(response: Response) =
Server.app(app(response)) ++
Expand Down

0 comments on commit 6c8f051

Please sign in to comment.