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 });