fix: null data response

This commit is contained in:
Pooja Belaramani 2024-12-23 12:11:46 +05:30
parent aea25842ce
commit 236bc48d98

View File

@ -20,7 +20,7 @@ const formatResponse = (data, mode, filter) => {
} }
if (data === null) { if (data === null) {
return data; return 'null';
} }
if (mode.includes('json')) { if (mode.includes('json')) {