# HG changeset patch # User Roberto Santalla # Date 1563957111 -7200 # Node ID 1aab69d32d74d0865864b743a706ab50f3d25689 # Parent f2c8ab41725b4bfb9ffb3473100e954e15c76f08 Fixed typo in godoc Co-Authored-By: Mikael Berthe committer: GitHub diff -r f2c8ab41725b -r 1aab69d32d74 media.go --- a/media.go Fri Jul 19 14:28:25 2019 +0200 +++ b/media.go Wed Jul 24 10:31:51 2019 +0200 @@ -38,7 +38,7 @@ return mc.UploadMediaReader(f, filepath.Base(f.Name()), description, focus) } -// UploadMedia uploads data from the given reader and returns an attachment +// UploadMediaReader uploads data from the given reader and returns an attachment // name, description and focus arguments can be empty strings. // 'focus' is the "focal point", written as two comma-delimited floating points. func (mc *Client) UploadMediaReader(f io.Reader, name, description, focus string) (*Attachment, error) {