mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
fix: remove unnecessary error handling in LogsHandler
This commit is contained in:
parent
45151574ae
commit
7d97763f8f
|
|
@ -350,10 +350,6 @@ func (admin *Admin) LogsHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
logOptions := NewLogSearchOptions().FromMap(m)
|
||||
if err != nil {
|
||||
w.WriteHeader(http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
r, err := admin.Controller.Logs.Search(logOptions, admin.Controller.Database)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue