mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
fix: make sure events are sorted
This commit is contained in:
parent
9e36f55aa4
commit
5d3381fc76
3 changed files with 14 additions and 2 deletions
|
@ -31,7 +31,7 @@ func RunRestCommand(c *gin.Context) {
|
|||
func ShowRestEvents(c *gin.Context) {
|
||||
var err error
|
||||
|
||||
events := session.I.Events.Events()
|
||||
events := session.I.Events.Sorted()
|
||||
nmax := len(events)
|
||||
n := nmax
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue