From 3aed58dc5c19a28d333326203401b45a8620fc9e Mon Sep 17 00:00:00 2001 From: Ching Date: Sun, 9 Feb 2025 20:41:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(template):=20=E4=BF=AE=E6=94=B9logs.html?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E4=B8=AD=E7=9A=84=E9=87=8D=E8=AF=95=E8=AF=B7?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/logs.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/logs.html b/templates/logs.html index 4a6f727..0e330d2 100644 --- a/templates/logs.html +++ b/templates/logs.html @@ -92,7 +92,11 @@ $.ajax({ url: '/barcode', method: 'POST', - data: JSON.stringify({ barcode: barcode }), + data: JSON.stringify({ + data: { + data: barcode + } + }), contentType: 'application/json', success: function(response) { alert('Barcode has been added to queue');