mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-05-08 07:19:21 -05:00
Fixed Gokapi not parsing parameters when uploading through API #31
This commit is contained in:
@@ -21,7 +21,7 @@ func Process(w http.ResponseWriter, r *http.Request, isWeb bool, maxMemory int)
|
||||
if isWeb {
|
||||
config = parseConfig(r.Form, true)
|
||||
} else {
|
||||
config = parseConfig(r.Header, false)
|
||||
config = parseConfig(r.Form, false)
|
||||
}
|
||||
file, header, err := r.FormFile("file")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user