Skip to content

Instantly share code, notes, and snippets.

@PaperCoder
PaperCoder / Add_missing_content-type.patch
Created August 5, 2019 11:15
Add missing content-type
Index: src/Pim/Bundle/EnrichBundle/Resources/public/js/saver/base-saver.js
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/Pim/Bundle/EnrichBundle/Resources/public/js/saver/base-saver.js (revision d1f975690b64872f3aecc4cc19e70b38d6febb60)
+++ src/Pim/Bundle/EnrichBundle/Resources/public/js/saver/base-saver.js (date 1564996256000)
@@ -25,6 +25,7 @@
/* todo: remove ternary when all instances using this module will provide method parameter */
type: 'undefined' === typeof method ? 'POST' : method,