Merge pull request 'Remove Bots category, use Data.Bots subcategory' (#27) from cat into staging
Reviewed-on: #27 Reviewed-by: itzaname <itzaname@noreply@itzana.me>
This commit was merged in pull request #27.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user