From dd79b2fe630f1cfc03f667c8b9ae150555a2438b Mon Sep 17 00:00:00 2001 From: Valentin Yanakiev Date: Wed, 11 Dec 2024 18:22:51 +0200 Subject: [PATCH] fixed comments / test issue --- ...censing.credential.based.policy.rule.credential.interface.ts | 2 +- .../licensing.wingback.subscription.service.spec.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/licensing/credential-based/licensing-credential-based-entitlements-engine/licensing.credential.based.policy.rule.credential.interface.ts b/src/platform/licensing/credential-based/licensing-credential-based-entitlements-engine/licensing.credential.based.policy.rule.credential.interface.ts index fbbe5265f..0d9dd160f 100644 --- a/src/platform/licensing/credential-based/licensing-credential-based-entitlements-engine/licensing.credential.based.policy.rule.credential.interface.ts +++ b/src/platform/licensing/credential-based/licensing-credential-based-entitlements-engine/licensing.credential.based.policy.rule.credential.interface.ts @@ -11,5 +11,5 @@ export abstract class ILicensingCredentialBasedPolicyCredentialRule { grantedEntitlements!: LicenseEntitlementType[]; @Field(() => String, { nullable: true }) - name!: string; + name?: string; } diff --git a/src/platform/licensing/wingback-subscription/licensing.wingback.subscription.service.spec.ts b/src/platform/licensing/wingback-subscription/licensing.wingback.subscription.service.spec.ts index a9569c677..67e136d19 100644 --- a/src/platform/licensing/wingback-subscription/licensing.wingback.subscription.service.spec.ts +++ b/src/platform/licensing/wingback-subscription/licensing.wingback.subscription.service.spec.ts @@ -1,5 +1,6 @@ import { Test, TestingModule } from '@nestjs/testing'; import { LicensingWingbackSubscriptionService } from './licensing.wingback.subscription.service'; +import { WingbackManager } from '@services/external/wingback'; describe('LicensingWingbackSubscriptionService', () => { let service: LicensingWingbackSubscriptionService;