feat: add subscription update and cancel logics
This commit is contained in:
@@ -6,7 +6,7 @@ const getInvoices = async (
|
||||
_params: unknown,
|
||||
context: Context
|
||||
) => {
|
||||
const subscription = await context.currentUser.$relatedQuery('subscription');
|
||||
const subscription = await context.currentUser.$relatedQuery('currentSubscription');
|
||||
|
||||
if (!subscription) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user