feat: Implement getInvoices graphQL query

This commit is contained in:
Faruk AYDIN
2023-03-26 02:02:36 +03:00
parent bd55b37d5f
commit 1cbf96dff1
6 changed files with 52 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ class User extends Base {
}
async startTrialPeriod() {
this.trialExpiryDate = DateTime.now().plus({ days: 30 }).toFormat('D');
this.trialExpiryDate = DateTime.now().plus({ days: 30 }).toISODate();
}
async $beforeInsert(queryContext: QueryContext) {