feat: Implement draft version of getBillingAndUsage query

This commit is contained in:
Faruk AYDIN
2023-03-25 00:39:49 +03:00
parent 310497a5bf
commit b5524b18cf
5 changed files with 80 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ class Subscription extends Base {
relation: Base.BelongsToOneRelation,
modelClass: User,
join: {
from: 'usage_data.user_id',
from: 'subscription.user_id',
to: 'users.id',
},
},