Refactor
This commit is contained in:
parent
4b0aba3731
commit
a8a2a7c708
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -56,3 +56,5 @@ profile-*
|
||||||
profile*
|
profile*
|
||||||
*clinic*
|
*clinic*
|
||||||
*flamegraph*
|
*flamegraph*
|
||||||
|
|
||||||
|
dist
|
||||||
|
|
|
@ -30,9 +30,7 @@ app.get('/api/printer/:printerName', async (req, res) => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const printerInfo: PrinterInfo = await printer.getPrinterInfo()
|
res.send(await printer.getPrinterInfo())
|
||||||
|
|
||||||
res.send(printerInfo)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user