From f6a5ec5a774c89c32f6b10dec8831d9ad62c16b5 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Thu, 12 Sep 2024 12:26:55 -0400 Subject: [PATCH] fix call to script --- mccs-it/thermal/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mccs-it/thermal/app.js b/mccs-it/thermal/app.js index c11e0b4..843150f 100644 --- a/mccs-it/thermal/app.js +++ b/mccs-it/thermal/app.js @@ -31,7 +31,7 @@ app.post('/print-temp-pw', async (req, res) => { if (!password) { return res.status(400).json({ message: 'Password is required.' }); } - await Thermal.printCredentials(password, req, res); + await Thermal.printTempPassword(password, req, res); } catch (error) { console.error('Print Error:', error); res.status(500).json({ message: 'Print Error', error: error.message });