Remove Bots category, use Data.Bots subcategory #27

Merged
itzaname merged 1 commits from cat into staging 2026-02-26 17:46:26 +00:00
Showing only changes of commit 9ca285bb86 - Show all commits

View File

@@ -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)
}