[change] Neo history api
This commit is contained in:
parent
a072a91f70
commit
1b8afda828
1 changed files with 4 additions and 1 deletions
|
|
@ -83,7 +83,10 @@ func (neo *DSL) API(router *gin.Engine, path string) error {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
c.JSON(200, history)
|
c.JSON(200, map[string]interface{}{
|
||||||
|
"data": history,
|
||||||
|
"command": nil,
|
||||||
|
})
|
||||||
c.Done()
|
c.Done()
|
||||||
})
|
})
|
||||||
router.GET(path+"/history", handlers...)
|
router.GET(path+"/history", handlers...)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue