This commit is contained in:
Douglas Barone 2023-05-15 12:44:30 -04:00
parent 4b0aba3731
commit a8a2a7c708
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -56,3 +56,5 @@ profile-*
profile*
*clinic*
*flamegraph*
dist

View File

@ -30,9 +30,7 @@ app.get('/api/printer/:printerName', async (req, res) => {
return
}
const printerInfo: PrinterInfo = await printer.getPrinterInfo()
res.send(printerInfo)
res.send(await printer.getPrinterInfo())
})
app.listen(port, () => {