diff --git a/server/.env b/server/.env index 9dde7f7..aa4c878 100644 --- a/server/.env +++ b/server/.env @@ -45,7 +45,7 @@ MP_SUBSCRIPTION_FIND_URL = https://api.mercadopago.com/preapproval/ MP_ACCESS_TOKEN = APP_USR-8753424836448507-121412-731599daea1ffa0b278b5dcc78aa1ec8-1611134648 MP_BACK_URL = https://turnosxpress.com.ar/landing/dashboard MP_CHECK_PAYMENT_MINUTES = 1 -MP_WEBHOOK_URL = https://30e1-186-132-147-13.ngrok-free.app/mercadopago/webhook +MP_WEBHOOK_URL = https://5f09-186-58-32-217.ngrok-free.app/mercadopago/webhook DEFAULT_BOT_ADMIN_PORT = 3005 diff --git a/server/src/Models/PlanUsageCycle/PlanUsageCycle.Adapter.Mongoose.ts b/server/src/Models/PlanUsageCycle/PlanUsageCycle.Adapter.Mongoose.ts index 539d7cb..96486df 100644 --- a/server/src/Models/PlanUsageCycle/PlanUsageCycle.Adapter.Mongoose.ts +++ b/server/src/Models/PlanUsageCycle/PlanUsageCycle.Adapter.Mongoose.ts @@ -112,7 +112,6 @@ export class PlanUsageCycleAdapterMongoose implements IPlanUsageCycleAdapter { planId: data.planId, cycleStart: data.cycleStart, cycleEnd: data.cycleEnd, - appointmentsCount: 0, creationDate: now, }, $inc: { appointmentsCount: data.quantity },