Fixed bug in invalid JSON fallback
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user