From bc99a256534668a616108ddbd7c81a62d34a30c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20C=C3=A2mara?= <52082556+RafaelJCamara@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:35:16 +0200 Subject: [PATCH] Remove unnecessary string interpolation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's an unnecessary $ in a .NET example of service invocation. Signed-off-by: Rafael Câmara <52082556+RafaelJCamara@users.noreply.github.com> --- .../service-invocation/howto-invoke-discover-services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md b/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md index c3f78e4a4e0..fe83282160a 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md +++ b/daprdocs/content/en/developing-applications/building-blocks/service-invocation/howto-invoke-discover-services.md @@ -247,7 +247,7 @@ namespace EventService var content = new StringContent(orderJson, Encoding.UTF8, "application/json"); var httpClient = DaprClient.CreateInvokeHttpClient(); - await httpClient.PostAsJsonAsync($"http://order-processor/orders", content); + await httpClient.PostAsJsonAsync("http://order-processor/orders", content); Console.WriteLine("Order requested: " + orderId); Console.WriteLine("Result: " + result); }