AddPrinter funcionando al cien
This commit is contained in:
@@ -10,7 +10,7 @@ const get = async(req, res) => {
|
||||
INNER JOIN printers P ON P.noInventario = I.noInventario
|
||||
INNER JOIN marca M ON M.idMarca = P.idMarca
|
||||
INNER JOIN tipo T ON T.idTipo = P.idTipo
|
||||
ORDER BY T.tipo
|
||||
ORDER BY P.createdAt DESC
|
||||
`, { type: QueryTypes.SELECT })
|
||||
.then(printers => {
|
||||
return res.json({
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
const get = require('./get');
|
||||
|
||||
module.exports = {
|
||||
get
|
||||
};
|
||||
Reference in New Issue
Block a user