fix(printers): add null case for the printerID

This commit is contained in:
2025-12-11 14:43:22 -06:00
parent 90ddbca2e7
commit 6efaffbb17
2 changed files with 1 additions and 35 deletions

View File

@@ -47,7 +47,7 @@ export const printerDelayByLot = async (lot: any) => {
})
.where(
and(
eq(printerData.humanReadableId, lot[i].printerID),
eq(printerData.humanReadableId, lot[i]?.printerID),
eq(printerData.printDelayOverride, false),
),
),