Revert "Fix AJAX JSON data (#2742)"

This reverts commit 340d373711, reversing
changes made to 1ed1efdc91.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-10-13 09:41:10 +02:00
parent 2fbef7f40e
commit 1146248964
9 changed files with 21 additions and 25 deletions

View File

@@ -315,12 +315,12 @@ function addFromQueryLog(domain, list) {
url: "/api/domains/" + list + "/exact",
method: "post",
dataType: "json",
data: {
data: JSON.stringify({
domain: domain,
comment: "Added from Query Log",
type: list,
kind: "exact",
},
}),
success: function (response) {
alProcessing.hide();
if ("domains" in response && response.domains.length > 0) {