mirror of https://github.com/dapr/docs.git
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:
parent
28c9011e58
commit
bc99a25653
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue