Skip to content

Commit 788decb

Browse files
authored
reviewed
1 parent ff3df6d commit 788decb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public void Apply(Operation operation, OperationFilterContext context)
2828
.SelectMany(p => p.Permissions)
2929
.Distinct();
3030

31-
if(permissions.Any()){
31+
if (permissions.Any())
32+
{
3233
operation.Responses.Add("403", new Response { Description = "Forbidden" });
3334
}
3435

0 commit comments

Comments
 (0)