mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix: stringify response data is not a string (#3155)
This commit is contained in:
@@ -55,7 +55,11 @@ const formatResponse = (data, mode, filter) => {
|
|||||||
return safeStringifyJSON(parsed, true);
|
return safeStringifyJSON(parsed, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return data;
|
if (typeof data === 'string') {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
|
return safeStringifyJSON(data, true);
|
||||||
};
|
};
|
||||||
|
|
||||||
const QueryResult = ({ item, collection, data, dataBuffer, width, disableRunEventListener, headers, error }) => {
|
const QueryResult = ({ item, collection, data, dataBuffer, width, disableRunEventListener, headers, error }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user