Skip to content

Commit 64982a0

Browse files
afuerschferpaz
authored andcommitted
Fix method name of async ResultsListAuthorizeAsync method in documentation. (MiniProfiler#666)
Fix method name of async ResultsListAuthorizeAsync method.
1 parent d616917 commit 64982a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/AspDotNetCore.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void ConfigureServices(IServiceCollection services)
4545
options.ResultsListAuthorize = request => MyGetUserFunction(request).CanSeeMiniProfiler;
4646
// Or, there are async versions available:
4747
options.ResultsAuthorizeAsync = async request => (await MyGetUserFunctionAsync(request)).CanSeeMiniProfiler;
48-
options.ResultsAuthorizeListAsync = async request => (await MyGetUserFunctionAsync(request)).CanSeeMiniProfilerLists;
48+
options.ResultsListAuthorizeAsync = async request => (await MyGetUserFunctionAsync(request)).CanSeeMiniProfilerLists;
4949

5050
// (Optional) To control which requests are profiled, use the Func<HttpRequest, bool> option:
5151
// (default is everything should be profiled)

0 commit comments

Comments
 (0)