From 11972ca0408adddba0bc6f2b9463cb4aa39fd6f5 Mon Sep 17 00:00:00 2001 From: MJebran Date: Tue, 15 Oct 2024 11:07:27 -0600 Subject: [PATCH] issue 1 and 2 are not longer applicable or fixed. issue 3,4 in articale fixed\n\nCo-authored-by: Luris Solis \nCo-authored-by: Benson Bird --- src/Api/Models/Request/Accounts/PremiumRequestModel.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Api/Models/Request/Accounts/PremiumRequestModel.cs b/src/Api/Models/Request/Accounts/PremiumRequestModel.cs index 26d199381..187f07265 100644 --- a/src/Api/Models/Request/Accounts/PremiumRequestModel.cs +++ b/src/Api/Models/Request/Accounts/PremiumRequestModel.cs @@ -17,8 +17,7 @@ public class PremiumRequestModel : IValidatableObject public bool Validate(GlobalSettings globalSettings) { - if (!(License == null && !globalSettings.SelfHosted) || - (License != null && globalSettings.SelfHosted)) + if (!(License == null && !globalSettings.SelfHosted)) { return false; }