Skip to content

Commit

Permalink
Fix http.
Browse files Browse the repository at this point in the history
  • Loading branch information
onrik committed Jul 8, 2016
1 parent 4d05f64 commit 9e22f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func Post(url string, data interface{}) ([]byte, error) {
}
}

func PostMultipart(url string, file *FileToSend, params url.Values) ([]byte, error) {
func PostMultipart(url string, file *File, params url.Values) ([]byte, error) {
body := new(bytes.Buffer)
writer := multipart.NewWriter(body)

Expand Down

0 comments on commit 9e22f29

Please sign in to comment.