chore: Update toner level threshold for sending alerts in MonitorController
This commit is contained in:
parent
99297682e3
commit
fbce4a6837
|
@ -5,7 +5,7 @@ const router = Router()
|
||||||
|
|
||||||
class MonitorController {
|
class MonitorController {
|
||||||
static async status(req: Request, res: Response) {
|
static async status(req: Request, res: Response) {
|
||||||
// If last status has a toner level below 20%, send an alert
|
// If last status has a toner level below 25%, send an alert
|
||||||
const { printerId } = req.params
|
const { printerId } = req.params
|
||||||
|
|
||||||
const status = await prisma.printerStatus.findFirst({
|
const status = await prisma.printerStatus.findFirst({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user