Fix response body saving

This commit is contained in:
Gregory Schier committed 2017-07-17 15:58:41 -07:00
1 parent 40c089c091
commit f03e3c3bcc
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"private": true,
"name": "insomnia",
"version": "5.6.1",
"version": "5.6.2",
"productName": "Insomnia",
"longName": "Insomnia REST Client",
"description": "Debug APIs like a human, not a robot",
+2 -2
View File
@@ -49,7 +49,7 @@ class ResponsePane extends PureComponent {
return;
}
const {response} = this.state;
const {response} = this.props;
const {contentType} = response;
const extension = mime.extension(contentType) || '';
@@ -81,7 +81,7 @@ class ResponsePane extends PureComponent {
}
_handleDownloadFullResponseBody () {
const {response} = this.state;
const {response} = this.props;
if (!response) {
// Should never happen