feat: Implement getTrialStatus graphQL query

This commit is contained in:
Faruk AYDIN
2023-04-07 22:55:18 +02:00
parent 3bfc428dfe
commit c4dc0509c2
5 changed files with 53 additions and 13 deletions

View File

@@ -76,6 +76,10 @@ class Subscription extends Base {
get plan() {
return getPlanById(this.paddlePlanId);
}
get isActive() {
return this.status === 'active' || this.status === 'past_due';
}
}
export default Subscription;