Fixed bug in invalid JSON fallback
This commit is contained in:
parent
7778202439
commit
791fe70fd3
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ export default {
|
|||
return JSON.stringify(JSON.parse(this.responseBodyText), null, 2)
|
||||
} catch (e) {
|
||||
// Most probs invalid JSON was returned, so drop prettification (should we warn ?)
|
||||
return new this.responseBodyText()
|
||||
return this.responseBodyText
|
||||
}
|
||||
},
|
||||
responseType() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue