[change] Neo history api

This commit is contained in:
Max 2023-10-20 11:07:36 +08:00
parent a072a91f70
commit 1b8afda828

View file

@ -83,7 +83,10 @@ func (neo *DSL) API(router *gin.Engine, path string) error {
return
}
c.JSON(200, history)
c.JSON(200, map[string]interface{}{
"data": history,
"command": nil,
})
c.Done()
})
router.GET(path+"/history", handlers...)