summaryrefslogtreecommitdiffstats
path: root/web/react/utils/client.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/client.jsx')
-rw-r--r--web/react/utils/client.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index 2134dc0f5..4e3505ad2 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -1159,6 +1159,7 @@ export function setPreferences(preferences, success, error) {
$.ajax({
url: '/api/v1/preferences/set',
dataType: 'json',
+ contentType: 'application/json',
type: 'POST',
data: JSON.stringify(preferences),
success,