chore: Update toner level threshold for sending alerts in MonitorController

This commit is contained in:
Douglas Barone 2024-08-13 09:38:54 -04:00
parent 99297682e3
commit fbce4a6837

View File

@ -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({