mirror of
https://github.com/bettercap/bettercap
synced 2025-07-10 15:23:30 -07:00
refact: removed commented lines
This commit is contained in:
parent
f1f146d3d7
commit
d6f010d8e7
1 changed files with 0 additions and 2 deletions
|
@ -151,8 +151,6 @@ func (api *RestAPI) eventsRoute(w http.ResponseWriter, r *http.Request) {
|
|||
} else if r.Method == "DELETE" {
|
||||
api.Session.Events.Clear()
|
||||
api.Session.Events.Add("sys.log.cleared", nil)
|
||||
// w.Header().Set("Content-Type", "application/json")
|
||||
// w.Write([]byte("{}"))
|
||||
} else {
|
||||
http.Error(w, "Not Found", 404)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue