mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-06 09:59:00 +02:00
🗃️ Add cancel at period end to subscription table (#1567)
This commit is contained in:
parent
f7d844abda
commit
292e331553
4 changed files with 59 additions and 11 deletions
|
@ -210,6 +210,7 @@ export async function POST(request: NextRequest) {
|
|||
createdAt: toDate(subscription.created),
|
||||
periodStart: toDate(subscription.current_period_start),
|
||||
periodEnd: toDate(subscription.current_period_end),
|
||||
cancelAtPeriodEnd: subscription.cancel_at_period_end,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue