From 85fefcf7243abe332e22bbf745dada8fa4952f98 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 3 Oct 2025 17:16:18 +0800 Subject: [PATCH] :bug: Fix subscription check --- DysonNetwork.Pass/Wallet/SubscriptionService.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/DysonNetwork.Pass/Wallet/SubscriptionService.cs b/DysonNetwork.Pass/Wallet/SubscriptionService.cs index 063ec5a..2e6f069 100644 --- a/DysonNetwork.Pass/Wallet/SubscriptionService.cs +++ b/DysonNetwork.Pass/Wallet/SubscriptionService.cs @@ -79,15 +79,6 @@ public class SubscriptionService( var couponData = await couponTask; // Validation checks - if (subscriptionInfo.RequiredLevel > 0) - { - if (profile is null) - throw new InvalidOperationException("Account profile was not found."); - if (profile.Level < subscriptionInfo.RequiredLevel) - throw new InvalidOperationException( - $"Account level must be at least {subscriptionInfo.RequiredLevel} to subscribe to {identifier}." - ); - } if (isFreeTrial && prevFreeTrial != null) throw new InvalidOperationException("Free trial already exists.");