Skip to content

Commit

Permalink
Fix filter method so it doesn't call next in the chain (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Nov 9, 2023
1 parent c6c3056 commit 5125dfa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public override async Task OnPageHandlerExecutionAsync(PageHandlerExecutingConte
if (!await ChangeDateOfBirthEnabled())
{
context.Result = BadRequest();
return;
}

if (DateOfBirth is null)
Expand Down

0 comments on commit 5125dfa

Please sign in to comment.