From 18990d9233470d31363fffb576e8c5f1ad8704b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20J=C3=B8rgen=20Skogstad?= Date: Wed, 11 Dec 2024 13:50:47 +0100 Subject: [PATCH] fx --- .../Authorization/LocalDevelopmentAltinnAuthorization.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Digdir.Domain.Dialogporten.Infrastructure/Altinn/Authorization/LocalDevelopmentAltinnAuthorization.cs b/src/Digdir.Domain.Dialogporten.Infrastructure/Altinn/Authorization/LocalDevelopmentAltinnAuthorization.cs index 6f7f5c07c..4c513de4f 100644 --- a/src/Digdir.Domain.Dialogporten.Infrastructure/Altinn/Authorization/LocalDevelopmentAltinnAuthorization.cs +++ b/src/Digdir.Domain.Dialogporten.Infrastructure/Altinn/Authorization/LocalDevelopmentAltinnAuthorization.cs @@ -52,7 +52,6 @@ public async Task GetAuthorizedResourcesForSear return authorizedResources; } - [SuppressMessage("Performance", "CA1822:Mark members as static")] public async Task GetAuthorizedParties(IPartyIdentifier authenticatedParty, bool _ = false, CancellationToken __ = default) => await Task.FromResult(new AuthorizedPartiesResult { @@ -72,5 +71,5 @@ public async Task GetAuthorizedParties(IPartyIdentifier }] }); - public Task HasListAuthorizationForDialog(DialogEntity dialog, CancellationToken cancellationToken) => Task.FromResult(true); + public Task HasListAuthorizationForDialog(DialogEntity _, CancellationToken __) => Task.FromResult(true); }