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)
1025
1025
/// <summary>
1026
1026
/// Produces an empty result response, that when executed will do nothing.
1027
1027
/// </summary>
1028
- public static IResult Empty { get ; } = TypedResults . Empty ;
1028
+ public static IResult Empty => EmptyHttpResult . Instance ;
1029
1029
1030
1030
/// <summary>
1031
1031
/// 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
1115
1115
/// <summary>
1116
1116
/// Produces an empty result response, that when executed will do nothing.
1117
1117
/// </summary>
1118
- public static EmptyHttpResult Empty { get ; } = EmptyHttpResult . Instance ;
1118
+ public static EmptyHttpResult Empty => EmptyHttpResult . Instance ;
1119
1119
1120
1120
/// <summary>
1121
1121
/// Provides a container for external libraries to extend
You can’t perform that action at this time.
0 commit comments