Skip to content

Commit

Permalink
Fixed switch-case logic in entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinyanakiev committed Nov 12, 2024
1 parent a3ffeae commit 39756be
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,10 @@ export class LicenseEntitlementService {
licenseEntitlement
);
break;
case LicenseType.ACCOUNT:
case LicenseType.SPACE:
case LicenseType.COLLABORATION:
case LicenseType.ROLESET:
case LicenseType.WHITEBOARD:
throw new LicenseEntitlementNotSupportedException(
`License Type ${license.type} is not supported for entitlement of type ${licenseEntitlement.type}`,
LogContext.LICENSE
Expand Down

0 comments on commit 39756be

Please sign in to comment.