mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Apply PR feedback
This commit is contained in:
parent
f2c7f02480
commit
23efaa368e
@ -69,7 +69,6 @@ const S3DownloadButton = React.createClass({
|
|||||||
const { downloadUrl } = this.state;
|
const { downloadUrl } = this.state;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span>
|
|
||||||
<a
|
<a
|
||||||
ref="downloadButton"
|
ref="downloadButton"
|
||||||
download
|
download
|
||||||
@ -83,7 +82,6 @@ const S3DownloadButton = React.createClass({
|
|||||||
*/}
|
*/}
|
||||||
{getLangText('Download')} .{fileExtension || 'file'} <Glyphicon glyph="cloud-download" />
|
{getLangText('Download')} .{fileExtension || 'file'} <Glyphicon glyph="cloud-download" />
|
||||||
</a>
|
</a>
|
||||||
</span>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -14,9 +14,9 @@ let S3Fetcher = {
|
|||||||
},
|
},
|
||||||
signUrl(key, title, artistName) {
|
signUrl(key, title, artistName) {
|
||||||
return requests.get('sign_url_s3', {
|
return requests.get('sign_url_s3', {
|
||||||
'artist_name': artistName,
|
|
||||||
key,
|
key,
|
||||||
title
|
title,
|
||||||
|
'artist_name': artistName
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user