summaryrefslogtreecommitdiffstats
path: root/interface/js/app/upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r--interface/js/app/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js
index f5a5cf73f..466d5d25e 100644
--- a/interface/js/app/upload.js
+++ b/interface/js/app/upload.js
@@ -52,7 +52,7 @@ define(["jquery"],
headers: headers,
success: function (json) {
cleanTextUpload(source);
- if (json[0].data.success) {
+ if (json[0].status === true) {
rspamd.alertMessage("alert-success", "Data successfully uploaded");
}
}