diff --git a/scan.go b/scan.go index ada1f77..f4fb0ad 100644 --- a/scan.go +++ b/scan.go @@ -16,7 +16,9 @@ func upload(directory string) { // TODO: Add revision var body = map[string]string{ - "@files[]": fileNames[0], + // maybe use httpclient.addFormFile and do everything manually... + // https://github.com/ddliu/go-httpclient/blob/master/httpclient.go#L676 + "@files[]": fileNames[0], // TODO: Add multiple files } _, err := httpclient.WithHeaders(map[string]string{