rm: json stringfy from json string data res

This commit is contained in:
Pooja Belaramani 2024-12-27 11:16:26 +05:30
parent 9a2d8bfff3
commit 54d8fbc478

View File

@ -33,7 +33,7 @@ const formatResponse = (data, mode, filter) => {
}
if (!isValidJSON && typeof data === 'string') {
return JSON.stringify(data);
return data;
}
if (filter) {