diff --git a/js/components/ascribe_buttons/s3_download_button.js b/js/components/ascribe_buttons/s3_download_button.js index 453bc6a8..5ae4f807 100644 --- a/js/components/ascribe_buttons/s3_download_button.js +++ b/js/components/ascribe_buttons/s3_download_button.js @@ -69,23 +69,21 @@ const S3DownloadButton = React.createClass({ const { downloadUrl } = this.state; return ( - - - {/* - If it turns out that `fileExtension` is an empty string, we're just - using the label 'file'. - */} - {getLangText('Download')} .{fileExtension || 'file'} - - + + {/* + If it turns out that `fileExtension` is an empty string, we're just + using the label 'file'. + */} + {getLangText('Download')} .{fileExtension || 'file'} + ); } }); -export default S3DownloadButton; \ No newline at end of file +export default S3DownloadButton; diff --git a/js/fetchers/s3_fetcher.js b/js/fetchers/s3_fetcher.js index 1a02727e..bde6f6ba 100644 --- a/js/fetchers/s3_fetcher.js +++ b/js/fetchers/s3_fetcher.js @@ -14,9 +14,9 @@ let S3Fetcher = { }, signUrl(key, title, artistName) { return requests.get('sign_url_s3', { - 'artist_name': artistName, key, - title + title, + 'artist_name': artistName }); } };