diff --git a/coffeecard/CoffeeCard.Library/Utils/ProductExtensions.cs b/coffeecard/CoffeeCard.Library/Utils/ProductExtensions.cs index 64bfdda0..96c1f9f4 100644 --- a/coffeecard/CoffeeCard.Library/Utils/ProductExtensions.cs +++ b/coffeecard/CoffeeCard.Library/Utils/ProductExtensions.cs @@ -19,7 +19,7 @@ public static bool IsPerk(this Product product) throw new ArgumentNullException($"{nameof(Product.ProductUserGroup)} must not be null"); } - return product.ProductUserGroup.Any(pug => pug.UserGroup != UserGroup.Customer); + return product.ProductUserGroup.All(pug => pug.UserGroup != UserGroup.Customer); } } }