fix(#334): fixed yaml response parsing issue

This commit is contained in:
Anoop M D 2023-10-04 22:55:17 +05:30
parent 9ecfb3a640
commit 90fedc8ec6

View File

@ -58,7 +58,7 @@ export const getCodeMirrorModeBasedOnContentType = (contentType) => {
return 'application/text';
} else if (contentType.includes('application/edn')) {
return 'application/xml';
} else if (mimeType.includes('yaml')) {
} else if (contentType.includes('yaml')) {
return 'application/yaml';
} else {
return 'application/text';