chore: Update toner level alert message in MonitorController
This commit is contained in:
parent
fbce4a6837
commit
21e1601a07
|
@ -18,7 +18,7 @@ class MonitorController {
|
||||||
})
|
})
|
||||||
|
|
||||||
if (status?.tonerBlackLevel && status.tonerBlackLevel < 25) {
|
if (status?.tonerBlackLevel && status.tonerBlackLevel < 25) {
|
||||||
res.send('low toner')
|
res.send(`Toner baixo! Nível atual: ${status.tonerBlackLevel}%`)
|
||||||
} else {
|
} else {
|
||||||
res.send('ok')
|
res.send('ok')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user