From 9ca285bb86f7ba1c43d126cfa9c85b2d32b5ad1a Mon Sep 17 00:00:00 2001 From: Rhys Lloyd Date: Thu, 26 Feb 2026 09:43:12 -0800 Subject: [PATCH] Categorize bots requests as Data.Bots --- pkg/api/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/router.go b/pkg/api/router.go index 4878fb8..fb09cc0 100644 --- a/pkg/api/router.go +++ b/pkg/api/router.go @@ -139,7 +139,7 @@ func setupRoutes(cfg *RouterConfig) (*gin.Engine, error) { botsGroup := r.Group("/api/v1") { // Auth middleware - botsGroup.Use(middleware.ValidateRequest("Bots", "Read", cfg.devClient)) + botsGroup.Use(middleware.ValidateRequest("Data", "Bots", cfg.devClient)) botsGroup.GET("/time/:id/bot", timesHandler.GetDownloadUrl) } -- 2.49.1