diff --git a/cmd/magneticow/api.go b/cmd/magneticow/api.go index c89ee5e..69fd709 100644 --- a/cmd/magneticow/api.go +++ b/cmd/magneticow/api.go @@ -48,11 +48,6 @@ func apiTorrentsHandler(w http.ResponseWriter, r *http.Request) { return } - if tq.LastID == nil { - respondError(w, 400, "lastID has to be greater than or equal to zero") - return - } - if tq.Ascending == nil { tq.Ascending = new(bool) *tq.Ascending = true