Merge pull request #4198 from RafaelJCamara/RafaelJCamara-service-invocation-doc-fix

Remove unnecessary string interpolation
This commit is contained in:
Hannah Hunter 2024-06-17 13:30:26 -04:00 committed by GitHub
commit 7ef0cdd412
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);
}