mirror of
https://github.com/Kong/insomnia.git
synced 2026-05-19 06:12:37 -04:00
Fix response body saving
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user