feat: add AI chat for repports
This commit is contained in:
@ -49,6 +49,8 @@ func SetupRouter(h *handlers.Handler, jwtSecret string) *gin.Engine {
|
||||
authed.GET("/reports", h.ListReports)
|
||||
authed.POST("/reports", h.CreateReport)
|
||||
authed.DELETE("/reports/:id", h.DeleteReport)
|
||||
authed.GET("/reports/:id/messages", h.ListReportMessages)
|
||||
authed.POST("/reports/:id/messages", h.CreateReportMessage)
|
||||
|
||||
// Admin
|
||||
admin := authed.Group("/admin")
|
||||
|
||||
Reference in New Issue
Block a user