fix call to script
This commit is contained in:
		
							parent
							
								
									d50cdae095
								
							
						
					
					
						commit
						f6a5ec5a77
					
				| @ -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 }); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user