style: formatting fixes (prettier compliance)
This commit is contained in:
1 parent
7882a49d71
commit
75436ad2f4
2 files changed
+13
-4
No files matched your search
@@ -42,7 +42,8 @@ export default class CwmpMiddleware {
|
||||
}
|
||||
|
||||
// Validate content type for non-empty requests
|
||||
const isXml = contentType.includes('text/xml') ||
|
||||
const isXml =
|
||||
contentType.includes('text/xml') ||
|
||||
contentType.includes('application/xml') ||
|
||||
contentType.includes('application/soap+xml') ||
|
||||
contentType === '' // Some CPEs don't set content-type
|
||||
|
||||
Reference in new issue
Block a user