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