From 2c02496877f8f0d6263eb1e4a5e2ca89fe269d59 Mon Sep 17 00:00:00 2001
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
Date: Tue, 13 Aug 2019 16:49:41 +0100
Subject: [WebUI] Really use checkv2

---
 interface/js/app/upload.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js
index db09189f4..a21d82484 100644
--- a/interface/js/app/upload.js
+++ b/interface/js/app/upload.js
@@ -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,
-- 
cgit v1.2.3