This commit is contained in:
Douglas Barone 2023-06-29 14:17:47 -04:00
parent 72ad91ff00
commit 0dc775e758

View File

@ -19,7 +19,8 @@ class PrinterController {
orderBy: { timestamp: 'desc' }, orderBy: { timestamp: 'desc' },
take: 1 take: 1
} }
} },
orderBy: { network: { cidr: 'asc' } }
}) })
return res.json(printers) return res.json(printers)
} }
@ -36,7 +37,8 @@ class PrinterController {
orderBy: { timestamp: 'desc' }, orderBy: { timestamp: 'desc' },
take: 1 take: 1
} }
} },
orderBy: { network: { cidr: 'asc' } }
}) })
return res.json(printers) return res.json(printers)