that is useless

This commit is contained in:
fzorb 2024-09-19 11:01:32 +03:00
parent f21d61c5b4
commit f15c40c713

View File

@ -10,7 +10,6 @@ import (
)
func uploadFile(wr http.ResponseWriter, rq *http.Request) {
fmt.Println("File Upload Endpoint Hit")
err := rq.ParseMultipartForm(128 << 20)
if err != nil {
http.Error(wr, "Unable to parse form", http.StatusBadRequest)