Fixed login
This commit is contained in:
parent
743934120e
commit
79edaaefa4
@ -75,10 +75,8 @@ export default class UserController extends ApiController {
|
||||
|
||||
if (!subscriptions || subscriptions.length === 0 || subscriptions[0]?.status === ESubscriptionStatus.INACTIVE) {
|
||||
isSubscribed = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (subscriptions[0]?.type === EType.Unlimited) {
|
||||
else if (subscriptions[0]?.type === EType.Unlimited) {
|
||||
isSubscribed = true;
|
||||
} else {
|
||||
const hasSeat = await this.subscriptionsService.get({
|
||||
|
Loading…
x
Reference in New Issue
Block a user