mirror of
https://github.com/bettercap/bettercap.git
synced 2025-03-12 04:36:03 -07:00
refact: removed commented lines
This commit is contained in:
parent
f1f146d3d7
commit
d6f010d8e7
@ -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…
x
Reference in New Issue
Block a user