aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorGravatar Momo <[email protected]>2018-06-19 21:54:43 +0000
committerGravatar Gareth Coles <[email protected]>2018-06-19 21:54:43 +0000
commit90c3c5f9a0f50ba1bc4b5290f51ee2948d4012a5 (patch)
tree17ed7e815dd17f87d5d58d3cb7a783b8fe5cc6ac /js
parentAdd package.json (diff)
Fix creating questions for code jams
Diffstat (limited to 'js')
-rw-r--r--js/src/jams.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/jams.js b/js/src/jams.js
index 4e15ab66..b26f8b53 100644
--- a/js/src/jams.js
+++ b/js/src/jams.js
@@ -32,6 +32,7 @@ class JamActions {
"data": JSON.stringify(data),
"dataType": "json",
"headers": {"X-CSRFToken": this.csrf_token},
+ "contentType": "application/json",
"method": method
}).done(data => {
if ("error_code" in data) {