Fix billing check for trial sub status (#5054)
## Context Sub status is not binary as you can also be in trial mode and still should be able to share invite link. This PR should fix this issue
This commit is contained in:
@ -144,8 +144,8 @@ export class SignInUpService {
|
||||
|
||||
assert(
|
||||
!this.environmentService.get('IS_BILLING_ENABLED') ||
|
||||
workspace.subscriptionStatus === 'active',
|
||||
'Workspace subscription status needs to be active',
|
||||
workspace.subscriptionStatus !== 'incomplete',
|
||||
'Workspace subscription status is incomplete',
|
||||
ForbiddenException,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user