diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 9997d48..52392af 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -206,7 +206,7 @@ func (h *UploadHandlers) Delete(w http.ResponseWriter, r *http.Request) { h.logFile.Printf("dt | %s | %s | %s | %s", r.Header.Get("X-Real-IP"), netTyp, saltedHash, r.UserAgent()) w.WriteHeader(http.StatusNoContent) - web.Deleted(utils.MainSite(r.Host)) + web.Deleted(utils.MainSite(r.Host), w) } func NotFound(w http.ResponseWriter, r *http.Request) {