Delete if everything is unselected

This commit is contained in:
Ben Sarmiento
2023-11-21 14:16:53 +01:00
parent 0f336c15df
commit 48ad2bc3bf
6 changed files with 36 additions and 22 deletions

View File

@@ -43,7 +43,7 @@ func Router(mux *http.ServeMux, c config.ConfigInterface, t *torrent.TorrentMana
case "PROPFIND":
dav.HandlePropfindRequest(w, r, t, davlog)
case "DELETE":
case http.MethodDelete:
dav.HandleDeleteRequest(w, r, t, davlog)
case http.MethodGet: