Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Lübbehusen committed Dec 2, 2021
1 parent cf1ad69 commit e294ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ValidationMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public async Task InvokeAsync(IMiddlewareContext context)
if (argument.ContextData.TryGetValue(WellKnownContextData.ValidationDelegate, out object value) &&
value is Validate validate)
{
var input = context.ArgumentValue<object>(argument.Name);
var input = context.ArgumentValue<object>(argument.Name);
var validationContext = new ValidationContext(input, context.Services, null);
validate(input, validationContext, errors);

Expand Down

0 comments on commit e294ff3

Please sign in to comment.