diff --git a/neo/neo.go b/neo/neo.go index ab4e9be5..f55b8756 100644 --- a/neo/neo.go +++ b/neo/neo.go @@ -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...)