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