From a77246ae5a1b80a727f1a65f493644c7a53d5ec7 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 28 Sep 2023 12:54:37 -1000 Subject: [PATCH] Update Program.cs (#198) --- fundamentals/aot/diagnostics/Rdg6/Program.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fundamentals/aot/diagnostics/Rdg6/Program.cs b/fundamentals/aot/diagnostics/Rdg6/Program.cs index 289ee62..cbfbea9 100644 --- a/fundamentals/aot/diagnostics/Rdg6/Program.cs +++ b/fundamentals/aot/diagnostics/Rdg6/Program.cs @@ -14,7 +14,8 @@ builder.Services.ConfigureHttpJsonOptions(options => var app = builder.Build(); -app.MapPut("/v1/todos/{id}", ([AsParameters] TodoRequest todoRequest) => Results.Ok(todoRequest.Todo)); +app.MapPut("/v1/todos/{id}", + ([AsParameters] TodoRequest todoRequest) => Results.Ok(todoRequest.Todo)); app.Run(); @@ -46,7 +47,8 @@ builder.Services.ConfigureHttpJsonOptions(options => var app = builder.Build(); -app.MapPut("/v1/todos/{id}", ([AsParameters] TodoRequest todoRequest) => Results.Ok(todoRequest.Todo)); +app.MapPut("/v1/todos/{id}", + ([AsParameters] TodoRequest todoRequest) => Results.Ok(todoRequest.Todo)); app.Run();