From 373b9018f1eb3b28c2553427a197d8eefa5f8747 Mon Sep 17 00:00:00 2001 From: ZIO Assistant Date: Tue, 27 Aug 2024 15:16:08 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27e69d5183..f7ae270167 100644 --- a/README.md +++ b/README.md @@ -93,11 +93,11 @@ object GreetingClient extends ZIOAppDefault { for { client <- ZIO.serviceWith[Client](_.host("localhost").port(8080)) request = Request.get("greet").addQueryParam("name", "John") - response <- client.request(request) + response <- client.batched(request) _ <- response.body.asString.debug("Response") } yield () - def run = app.provide(Client.default, Scope.default) + def run = app.provide(Client.default) } ```