1
0

Added missing io.Writer in a call of web.Deleted.

This commit is contained in:
Alexander Andreev 2023-05-21 22:24:36 +04:00
parent 33ec19647b
commit 88ec5e5efe
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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) {