Remove Authentication Middleware from Admin Flags Routes

- Eliminated the authentication middleware from the admin flags routes, simplifying access to flag-related endpoints for administrative purposes. This change enhances the usability of the admin interface while maintaining the integrity of other secured routes.
This commit is contained in:
n.nakhostin
2025-09-09 14:53:07 +03:30
parent a8a08b33f6
commit b445bb297f
-1
View File
@@ -125,7 +125,6 @@ func RegisterAdminRoutes(e *echo.Echo, userHandler *user.Handler, companyHandler
// Admin Flags Routes
flagsGP := adminV1.Group("/flags")
{
flagsGP.Use(userHandler.AuthMiddleware())
flagsGP.GET("/:country_code", flagHandler.AdminGetFlagSVG)
}
}