File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Http/Http.Results/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1025,7 +1025,7 @@ public static IResult ServerSentEvents<T>(IAsyncEnumerable<SseItem<T>> values)
10251025 /// <summary>
10261026 /// Produces an empty result response, that when executed will do nothing.
10271027 /// </summary>
1028- public static IResult Empty { get ; } = TypedResults . Empty ;
1028+ public static IResult Empty => EmptyHttpResult . Instance ;
10291029
10301030 /// <summary>
10311031 /// Provides a container for external libraries to extend
Original file line number Diff line number Diff line change @@ -1115,7 +1115,7 @@ public static ServerSentEventsResult<T> ServerSentEvents<T>(IAsyncEnumerable<Sse
11151115 /// <summary>
11161116 /// Produces an empty result response, that when executed will do nothing.
11171117 /// </summary>
1118- public static EmptyHttpResult Empty { get ; } = EmptyHttpResult . Instance ;
1118+ public static EmptyHttpResult Empty => EmptyHttpResult . Instance ;
11191119
11201120 /// <summary>
11211121 /// Provides a container for external libraries to extend
You can’t perform that action at this time.
0 commit comments