Skip to content

Commit

Permalink
change result factory
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdgun committed Aug 16, 2023
1 parent 34a9b37 commit b877c1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public FluentValidationAutoValidationEndpointFilter(IServiceProvider serviceProv
errors.Add(errorGrouping.Key, errorGrouping.Select(error => error.ErrorMessage).ToArray());
}

return TypedResults.ValidationProblem(errors);
return Results.ValidationProblem(errors);
}
}
}
Expand Down

0 comments on commit b877c1b

Please sign in to comment.