From d95e82034a0cb0aa607f83f0944a6d5f8f66a3c9 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 25 Jun 2026 08:05:31 -0500 Subject: [PATCH] fix: excluir /api/sms/send del middleware AuthApi Co-Authored-By: Claude Sonnet 4.6 --- rest/middlewares/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/middlewares/auth.go b/rest/middlewares/auth.go index cd0d8a0..7eb7150 100755 --- a/rest/middlewares/auth.go +++ b/rest/middlewares/auth.go @@ -263,7 +263,7 @@ func AuthAdmin(c *fiber.Ctx) error { func AuthApi() func(*fiber.Ctx) error { return func(c *fiber.Ctx) error { // Excluir rutas públicas - if c.Path() == "/api/v1/oauth/token" { + if c.Path() == "/api/v1/oauth/token" || c.Path() == "/api/sms/send" { return c.Next() }