Skip to content

Commit

Permalink
Merge pull request #4198 from RafaelJCamara/RafaelJCamara-service-inv…
Browse files Browse the repository at this point in the history
…ocation-doc-fix

Remove unnecessary string interpolation
  • Loading branch information
hhunter-ms authored Jun 17, 2024
2 parents 68e85a0 + 6ee0b86 commit 7ef0cdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7ef0cdd

Please sign in to comment.