Skip to content

Commit e07959c

Browse files
committed
Fix spelling and update comment referencing INonBrowserEndpointMetadata
1 parent 2c58093 commit e07959c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Http/Http.Abstractions/src/Metadata/IApiEndpointMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Microsoft.AspNetCore.Http.Metadata;
55

66
/// <summary>
7-
/// Metadata that indicates the endpoint is an API intended for programatic access rather than direct browser navigation.
7+
/// Metadata that indicates the endpoint is an API intended for programmatic access rather than direct browser navigation.
88
/// When present, authentication handlers should prefer returning status codes over browser redirects.
99
/// </summary>
1010
public interface IApiEndpointMetadata

src/SignalR/common/Http.Connections/src/ConnectionEndpointRouteBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public static ConnectionEndpointRouteBuilder MapConnections(this IEndpointRouteB
127127
e.Metadata.Add(data);
128128
}
129129

130-
// Add INonBrowserEndpointMetadata to indicate this is a non-browser endpoint (SignalR)
130+
// Add IApiEndpointMetadata to indicate this is a non-browser endpoint (SignalR)
131131
e.Metadata.Add(ApiEndpointMetadata.Instance);
132132
});
133133

0 commit comments

Comments
 (0)