fix: excluir /api/sms/send del middleware AuthApi

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-25 08:05:31 -05:00
co-authored by Claude Sonnet 4.6
parent cb9d984ee8
commit d95e82034a
+1 -1
View File
@@ -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()
}