chore: update
This commit is contained in:
@@ -68,6 +68,8 @@ func New(d Deps) *gin.Engine {
|
||||
{
|
||||
admin.GET("/codes", d.SubH.ListCodes)
|
||||
admin.POST("/codes", d.SubH.CreateCodeForBuy)
|
||||
admin.GET("/profile/alerts", d.ProfileH.GetAlerts)
|
||||
admin.POST("/profile/alerts", d.ProfileH.SetAlerts)
|
||||
if d.DemosH != nil {
|
||||
admin.POST("/demos", d.DemosH.Create)
|
||||
admin.GET("/demos", d.DemosH.List)
|
||||
|
||||
Reference in New Issue
Block a user