Add "processData: false" to all JSON data we send

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-10-13 09:44:01 +02:00
parent 1146248964
commit 43c8ede674
10 changed files with 19 additions and 0 deletions

View File

@@ -516,6 +516,7 @@ function addAdlist(event) {
url: "/api/lists",
method: "post",
dataType: "json",
processData: false,
data: JSON.stringify({ address: address, comment: comment, type: type }),
success: function () {
utils.enableAll();
@@ -582,6 +583,7 @@ function editAdlist() {
url: "/api/lists/" + encodeURIComponent(addressDecoded),
method: "put",
dataType: "json",
processData: false,
data: JSON.stringify({
groups: groups,
comment: comment,