diff --git a/static/js/main.js b/static/js/main.js index e62256a..a3947ec 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -783,6 +783,8 @@ function updateDemandes() { token: localStorage.getItem('token'), type: "state" }), + contentType: "application/json; charset=utf-8", + dataType: "json", success: function(data) { if(data.success) {