This commit is contained in:
Lizandro Guarnizo
2026-05-12 19:50:12 -05:00
parent 25e3cd6254
commit d9d24c43d7
4 changed files with 768 additions and 0 deletions
+3
View File
@@ -64,6 +64,9 @@ func RenovacionesRoutes(protected fiber.Router) {
protected.Post("/api/smtp-config", controllers.SaveSmtpConfig)
protected.Post("/api/smtp-config/test", controllers.TestSmtpConfig)
// ─── Diagnóstico ──────────────────────────────────────────────────
protected.Post("/api/diagnostico/ciclo-notificaciones", controllers.EjecutarTestCiclo)
// ─── Admin: seed de módulos (idempotente) ─────────────────────────
protected.Post("/api/admin/seed-renovaciones", func(c *fiber.Ctx) error {
migrations.SeedRenovaciones()