fix(helcim): restore subscriptionStartDate on paid-tier activation
This commit is contained in:
parent
8d43804c7f
commit
4b5ea9bbd8
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ export default defineEventHandler(async (event) => {
|
|||
helcimCustomerId: body.customerId,
|
||||
paymentMethod: 'card',
|
||||
billingCadence: cadence,
|
||||
subscriptionStartDate: new Date(),
|
||||
status: 'active',
|
||||
} },
|
||||
{ new: true, runValidators: false }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue