We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118d7cc commit 873b002Copy full SHA for 873b002
aspnetcore/diagnostics/asp0025.md
@@ -76,7 +76,7 @@ var builder = WebApplication.CreateBuilder(args);
76
builder.Services.AddAuthorizationBuilder()
77
.AddPolicy("AtLeast21", policy =>
78
{
79
- policy.Requirements.Add(new MinimumAgeRequirement(21)));
+ policy.Requirements.Add(new MinimumAgeRequirement(21));
80
});
81
82
var app = builder.Build();
0 commit comments