AddPrinter funcionando al cien

This commit is contained in:
alfredojl
2020-09-17 21:24:57 -05:00
parent a858262619
commit 061ea3abe1
9 changed files with 9 additions and 69 deletions
+1 -1
View File
@@ -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
};