feat: dont inactive the old suport plan and after pay the invoice make it inactive
This commit is contained in:
@@ -249,8 +249,8 @@ export class SupportPlansService {
|
||||
upgradePrice.toNumber(),
|
||||
);
|
||||
|
||||
// cancel old support plan
|
||||
currentUserSupportPlan.status = UserSupportPlanStatus.CANCELLED;
|
||||
// inactivate old support plan
|
||||
// currentUserSupportPlan.status = UserSupportPlanStatus.INACTIVE;
|
||||
await queryRunner.manager.save(this.userSupportPlanRepo.target, currentUserSupportPlan);
|
||||
|
||||
if (newSupportPlan.isFree) {
|
||||
|
||||
Reference in New Issue
Block a user