]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Really use checkv2
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Aug 2019 15:49:41 +0000 (16:49 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Aug 2019 15:49:41 +0000 (16:49 +0100)
interface/js/app/upload.js

index db09189f4db650ad6ec5ceabc256fd374d57f8b0..a21d82484ee431055ce77b65e7d800f6e0c9b207 100644 (file)
@@ -62,7 +62,7 @@ define(["jquery"],
         // @upload text
         function scanText(rspamd, data, server) {
             var items = [];
-            rspamd.query("scan", {
+            rspamd.query("checkv2", {
                 data: data,
                 params: {
                     processData: false,