Skip to content

Commit

Permalink
chore: Warning/suppression cleanup in LocalDevelopmentAltinnAuthoriza…
Browse files Browse the repository at this point in the history
…tion (#1592)
  • Loading branch information
oskogstad authored Dec 13, 2024
1 parent 2aa1a2a commit 86a8680
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public async Task<DialogSearchAuthorizationResult> GetAuthorizedResourcesForSear
return authorizedResources;
}

[SuppressMessage("Performance", "CA1822:Mark members as static")]
public async Task<AuthorizedPartiesResult> GetAuthorizedParties(IPartyIdentifier authenticatedParty, bool _ = false, CancellationToken __ = default)
=> await Task.FromResult(new AuthorizedPartiesResult
{
Expand All @@ -70,5 +69,5 @@ public async Task<AuthorizedPartiesResult> GetAuthorizedParties(IPartyIdentifier
}]
});

public Task<bool> HasListAuthorizationForDialog(DialogEntity dialog, CancellationToken cancellationToken) => Task.FromResult(true);
public Task<bool> HasListAuthorizationForDialog(DialogEntity _, CancellationToken __) => Task.FromResult(true);
}

0 comments on commit 86a8680

Please sign in to comment.