mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
bru disableParsingResponseJson function rename (#2785)
* disable response json parse flag * fix: pr review comments * update bru req function name
This commit is contained in:
parent
9a88db7e56
commit
df2e18bedd
@ -66,7 +66,8 @@ if (!SERVER_RENDERED) {
|
||||
'bru.getVar(key)',
|
||||
'bru.setVar(key,value)',
|
||||
'bru.deleteVar(key)',
|
||||
'bru.setNextRequest(requestName)'
|
||||
'bru.setNextRequest(requestName)',
|
||||
'req.disableParsingResponseJson()'
|
||||
];
|
||||
CodeMirror.registerHelper('hint', 'brunoJS', (editor, options) => {
|
||||
const cursor = editor.getCursor();
|
||||
|
@ -168,7 +168,8 @@ class BrunoRequest {
|
||||
return obj !== null && typeof obj === 'object';
|
||||
}
|
||||
|
||||
disableResponseJsonParse() {
|
||||
|
||||
disableParsingResponseJson() {
|
||||
this.req.__brunoDisableParsingResponseJson = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user