moved categories to api level

This commit is contained in:
SwiftyOS
2024-09-13 19:03:11 +02:00
parent 3971fbd800
commit c2843eecfa

View File

@@ -103,7 +103,7 @@ func main() {
admin.POST("/agent/submissions", middleware.Auth(cfg), handlers.ReviewSubmission(db))
}
admin.GET("/categories", handlers.GetCategories(db))
api.GET("/categories", handlers.GetCategories(db))
// Analytics routes
api.POST("/agent-installed", handlers.AgentInstalled(db))
}