From d65f641609a57affaaf66b8dc2c2e65d11a2a84e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 17 Aug 2017 00:13:20 -0400 Subject: [PATCH] correct noop implementation --- .../NoopImplementations/NoopLicensingService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Core/Services/NoopImplementations/NoopLicensingService.cs b/src/Core/Services/NoopImplementations/NoopLicensingService.cs index a8fb0fce11..a9d5222e5f 100644 --- a/src/Core/Services/NoopImplementations/NoopLicensingService.cs +++ b/src/Core/Services/NoopImplementations/NoopLicensingService.cs @@ -18,19 +18,19 @@ namespace Bit.Core.Services } } - public bool VerifyLicense(ILicense license) + public Task ValidateOrganizationsAsync() { - return true; + return Task.FromResult(0); } - public bool VerifyOrganizationPlan(Organization organization) + public Task ValidateUserPremiumAsync(User user) { - return true; + return Task.FromResult(user.Premium); } - public Task ValidateUserPremiumAsync(User user) + public bool VerifyLicense(ILicense license) { - return Task.FromResult(user.Premium); + return true; } public byte[] SignLicense(ILicense license)