mirror of
https://github.com/bettercap/bettercap
synced 2025-07-07 13:32:07 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
87800ef2dd
commit
bec98e3d1f
1 changed files with 0 additions and 1 deletions
|
@ -53,6 +53,5 @@ func ShowRestEvents(c *gin.Context) {
|
|||
|
||||
func ClearRestEvents(c *gin.Context) {
|
||||
session.I.Events.Clear()
|
||||
session.I.Events.Add("sys.log.cleared", nil)
|
||||
c.JSON(200, gin.H{"success": true})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue