Skip to content

Commit

Permalink
Fixed variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Nov 29, 2024
1 parent 59379f3 commit a893304
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ public DefaultAuthorizationHandler(
throw new ArgumentNullException(nameof(authorizationPolicyCache));
#if NET7_0_OR_GREATER
_canCachePolicies = _authorizationPolicyProvider.AllowsCachingPolicies;
#else
_canCachePolicies = true;
#endif
}

Expand Down

0 comments on commit a893304

Please sign in to comment.