diff --git a/docs/AspDotNetCore.md b/docs/AspDotNetCore.md index c8704204..b541cb12 100644 --- a/docs/AspDotNetCore.md +++ b/docs/AspDotNetCore.md @@ -45,7 +45,7 @@ public void ConfigureServices(IServiceCollection services) options.ResultsListAuthorize = request => MyGetUserFunction(request).CanSeeMiniProfiler; // Or, there are async versions available: options.ResultsAuthorizeAsync = async request => (await MyGetUserFunctionAsync(request)).CanSeeMiniProfiler; - options.ResultsAuthorizeListAsync = async request => (await MyGetUserFunctionAsync(request)).CanSeeMiniProfilerLists; + options.ResultsListAuthorizeAsync = async request => (await MyGetUserFunctionAsync(request)).CanSeeMiniProfilerLists; // (Optional) To control which requests are profiled, use the Func option: // (default is everything should be profiled)