From cd3b8a948eddede44bdd0a05ac3b675536a14299 Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Thu, 28 Sep 2023 10:15:54 +0530 Subject: [PATCH] fix(#227): fixed json formatting issue --- packages/bruno-app/src/utils/common/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bruno-app/src/utils/common/index.js b/packages/bruno-app/src/utils/common/index.js index 443dca66..204cae6b 100644 --- a/packages/bruno-app/src/utils/common/index.js +++ b/packages/bruno-app/src/utils/common/index.js @@ -84,7 +84,7 @@ export const getContentType = (headers) => { export const formatResponse = (response) => { let type = getContentType(response.headers); if (type.includes('json')) { - return safeStringifyJSON(response.data); + return safeStringifyJSON(response.data, true); } if (type.includes('xml')) { return xmlFormat(response.data, { collapseContent: true });