From 3161588898820cbc89e010019e0c9da26c625c34 Mon Sep 17 00:00:00 2001 From: kry008 Date: Sat, 25 Jan 2025 22:17:11 +0100 Subject: [PATCH] =?UTF-8?q?u=C5=82atwienie=20dla=20os=C3=B3b=20licz=C4=85c?= =?UTF-8?q?ych?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- serwer/app/panelRoutes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serwer/app/panelRoutes.js b/serwer/app/panelRoutes.js index f736a49..f86c3d5 100644 --- a/serwer/app/panelRoutes.js +++ b/serwer/app/panelRoutes.js @@ -167,7 +167,7 @@ panelRouter.post('/dodajOsobeLiczaca', function(req, res) { loger(fs, 'Nieudana próba dodania osoby liczącej o imieniu: ' + imie + ' i nazwisku: ' + nazwisko, 'warning'); } else { //nie istnieje - var qr = makeid(24) + var qr = makeid(11) con.query('INSERT INTO liczacy (imie, nazwisko, qr) VALUES (?, ?, ?)', [imie, nazwisko, qr], function(err, result) { if (err) throw err; res.redirect('/panel/osobyLiczace');