QR code fixes

This commit is contained in:
Khanh Ngo 2023-03-16 09:09:48 +01:00
parent 00f7f3d280
commit d3c47c53c8

View file

@ -481,7 +481,9 @@ Wireguard Clients
cache: false, cache: false,
method: 'GET', method: 'GET',
url: '{{.basePath}}/api/client/' + client_id, url: '{{.basePath}}/api/client/' + client_id,
data: JSON.stringify(data), data: {
qrCodeIncludeFwMark: include_fwmark
},
dataType: 'json', dataType: 'json',
contentType: "application/json", contentType: "application/json",
success: function (resp) { success: function (resp) {