Skip to content

Commit 23caa4e

Browse files
committed
_
1 parent 2fbc0e9 commit 23caa4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/samples/MinimalSampleFSharp/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let main args =
1010
app.UseDeveloperExceptionPage() |> ignore
1111

1212
app.MapGet("/plaintext", Func<string>(fun () -> "Hello, World!")) |> ignore
13-
app.MapGet("/json", Func<obj>(fun () -> upcast {| message = "Hello, World!" |})) |> ignore
13+
app.MapGet("/json", Func<_>(fun () -> {| message = "Hello, World!" |})) |> ignore
1414
app.MapGet("/hello/{name}", Func<string, string>(fun name -> $"Hello, {name}!")) |> ignore
1515

1616
app.Run()

0 commit comments

Comments
 (0)