Refactor
This commit is contained in:
parent
4b0aba3731
commit
a8a2a7c708
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -56,3 +56,5 @@ profile-*
|
|||
profile*
|
||||
*clinic*
|
||||
*flamegraph*
|
||||
|
||||
dist
|
||||
|
|
|
@ -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, () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user