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

Commit

Permalink
Delete useless code from documentation (#107)
Browse files Browse the repository at this point in the history
"var authRepo = (IManageApiKeys)appHost.TryResolve<IAuthRepository>();" is never used.
  • Loading branch information
labilbe authored Oct 11, 2024
1 parent a7d4207 commit 03f41f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/api-key-authprovider.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ public class ConfigureAuth : IHostingStartup
.Where(x => userWithKeysIds.Count == 0 || !userWithKeysIds.Contains(x.Id))
.Select(x => x.Id));

var authRepo = (IManageApiKeys)appHost.TryResolve<IAuthRepository>();
foreach (var userId in userIdsMissingKeys)
{
var apiKeys = authProvider.GenerateNewApiKeys(userId);
Expand Down

0 comments on commit 03f41f2

Please sign in to comment.