From 8d93efe3a63d33cf780f2150ce6b2be52ffc0212 Mon Sep 17 00:00:00 2001 From: Joe DeCock Date: Tue, 10 Dec 2024 14:10:38 -0600 Subject: [PATCH] Build fix --- .../Licensing/V2/LicenseUsageTrackerExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IdentityServer/Licensing/V2/LicenseUsageTrackerExtensions.cs b/src/IdentityServer/Licensing/V2/LicenseUsageTrackerExtensions.cs index 90f49f294..82dcde9fd 100644 --- a/src/IdentityServer/Licensing/V2/LicenseUsageTrackerExtensions.cs +++ b/src/IdentityServer/Licensing/V2/LicenseUsageTrackerExtensions.cs @@ -20,7 +20,7 @@ internal static void ResourceIndicatorUsed(this LicenseUsageTracker tracker, str internal static void ResourceIndicatorsUsed(this LicenseUsageTracker tracker, IEnumerable resourceIndicators) { - if (resourceIndicators.Any()) + if (resourceIndicators?.Any() == true) { tracker.FeatureUsed(LicenseFeature.ResourceIsolation); }