changeset 44 | 6da40ca4534c |
parent 0 | 5abace724584 |
child 45 | b58a7ea1aeb2 |
--- a/cmd/media.go Sun Apr 30 20:02:11 2017 +0200 +++ b/cmd/media.go Sun Apr 30 20:45:40 2017 +0200 @@ -56,7 +56,7 @@ } // uploadFile uploads a media file and returns the attachment ID -func uploadFile(filePath string) (int, error) { +func uploadFile(filePath string) (int64, error) { attachment, err := gClient.UploadMedia(filePath) if err != nil { return 0, err