aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/rspamd.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js
index fbb798b5f..bf860b238 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -515,8 +515,8 @@
$.ajax({
dataType: 'json',
type: 'GET',
- url: 'graph?type=',
- data: type,
+ url: 'graph',
+ data: {"type": type},
beforeSend: function (xhr) {
xhr.setRequestHeader('Password', getPassword());
},