Skip to content

Commit 873b002

Browse files
authored
Patch code example (#35326)
1 parent 118d7cc commit 873b002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/diagnostics/asp0025.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var builder = WebApplication.CreateBuilder(args);
7676
builder.Services.AddAuthorizationBuilder()
7777
.AddPolicy("AtLeast21", policy =>
7878
{
79-
policy.Requirements.Add(new MinimumAgeRequirement(21)));
79+
policy.Requirements.Add(new MinimumAgeRequirement(21));
8080
});
8181

8282
var app = builder.Build();

0 commit comments

Comments
 (0)