Skip to content

Commit

Permalink
remove unused dbcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
knuhau committed Jan 3, 2025
1 parent 0b0672b commit ae445bb
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ internal sealed class AltinnAuthorizationClient : IAltinnAuthorization
private readonly IFusionCache _partiesCache;
private readonly IFusionCache _subjectResourcesCache;
private readonly IUser _user;
private readonly IDialogDbContext _dialogDbContext;
private readonly ILogger _logger;
private readonly IServiceScopeFactory _serviceScopeFactory;

Expand All @@ -41,7 +40,6 @@ public AltinnAuthorizationClient(
HttpClient client,
IFusionCacheProvider cacheProvider,
IUser user,
IDialogDbContext dialogDbContext,
ILogger<AltinnAuthorizationClient> logger,
IServiceScopeFactory serviceScopeFactory)
{
Expand All @@ -50,7 +48,6 @@ public AltinnAuthorizationClient(
_partiesCache = cacheProvider.GetCache(nameof(AuthorizedPartiesResult)) ?? throw new ArgumentNullException(nameof(cacheProvider));
_subjectResourcesCache = cacheProvider.GetCache(nameof(SubjectResource)) ?? throw new ArgumentNullException(nameof(cacheProvider));
_user = user ?? throw new ArgumentNullException(nameof(user));
_dialogDbContext = dialogDbContext ?? throw new ArgumentNullException(nameof(dialogDbContext));
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
_serviceScopeFactory = serviceScopeFactory ?? throw new ArgumentNullException(nameof(serviceScopeFactory));
}
Expand Down

0 comments on commit ae445bb

Please sign in to comment.