Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 03f41f2

Browse files
authored
Delete useless code from documentation (#107)
"var authRepo = (IManageApiKeys)appHost.TryResolve<IAuthRepository>();" is never used.
1 parent a7d4207 commit 03f41f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/api-key-authprovider.md

-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ public class ConfigureAuth : IHostingStartup
348348
.Where(x => userWithKeysIds.Count == 0 || !userWithKeysIds.Contains(x.Id))
349349
.Select(x => x.Id));
350350

351-
var authRepo = (IManageApiKeys)appHost.TryResolve<IAuthRepository>();
352351
foreach (var userId in userIdsMissingKeys)
353352
{
354353
var apiKeys = authProvider.GenerateNewApiKeys(userId);

0 commit comments

Comments
 (0)