mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
11 lines
248 B
Go
11 lines
248 B
Go
package authanalysis
|
|||
|
|||
func registerAdminRoutes(router *gin.Engine) {
|
|||
admin := router.Group("/admin", requireLogin)
|
|||
admin.POST("/projects/:projectID/archive", archiveProject)
|
|||
}
|
|||
|
|||
func archiveProject(c *gin.Context) {
|
|||
adminAuditService.Publish()
|
|||
}
|