Remove unnecessary string interpolation

There's an unnecessary $ in a .NET example of service invocation.

Signed-off-by: Rafael Câmara <52082556+RafaelJCamara@users.noreply.github.com>
This commit is contained in:
Rafael Câmara 2024-06-14 16:35:16 +02:00 committed by GitHub
parent 28c9011e58
commit bc99a25653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}