NTP-27557 | Minor change

This commit is contained in:
vivek bhadola
2025-01-20 15:48:25 +05:30
parent e3f6d7a513
commit 4b60c2f164

View File

@@ -30,8 +30,8 @@ const getFetchResponse = async (
) {
return await res.json();
} else if (
contentType.includes("text/plain") ||
requestType !== RequestType.JSON
contentType.includes("text/plain") &&
requestType == RequestType.RAW
) {
return await res.text();
} else {