We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d37a8a commit ec261e1Copy full SHA for ec261e1
src/modules/subscription/subscription.service.ts
@@ -528,20 +528,20 @@ export class SubscriptionService {
528
}>
529
> {
530
try {
531
- if (hwidHeaders === null) {
+ if (user.hwidDeviceLimit === 0) {
532
return {
533
isOk: true,
534
response: {
535
- isSubscriptionAllowed: false,
+ isSubscriptionAllowed: true,
536
},
537
};
538
}
539
540
- if (user.hwidDeviceLimit === 0) {
+ if (hwidHeaders === null) {
541
542
543
544
- isSubscriptionAllowed: true,
+ isSubscriptionAllowed: false,
545
546
547
0 commit comments