This commit is contained in:
Lemuel Marquez
2021-06-23 14:20:29 -05:00
parent 4b95dc48ed
commit 1d071bbe31
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ const activos = async (body) => {
],
limit: 25,
offset: 25 * (pagina - 1),
order: [['createdAt', 'DESC']],
});
})
.then((res) => {
+1 -1
View File
@@ -58,7 +58,7 @@ const historial = async (body) => {
],
limit: 25,
offset: 25 * (pagina - 1),
// order: [['createdAt', 'DESC']],
order: [['createdAt', 'DESC']],
}).then((res) => {
for (let i = 0; i < res.rows.length; i++) {
delete res.rows[i].dataValues.idUsuario;
@@ -20,6 +20,7 @@ const historialEquipo = async (body) => {
],
limit: 25,
offset: 25 * (pagina - 1),
order: [['createdAt', 'DESC']],
}).then((res) => {
for (let i = 0; i < res.rows.length; i++) {
delete res.rows[i].dataValues.idUsuario;
@@ -31,6 +31,7 @@ const historialUsuario = async (body) => {
],
limit: 25,
offset: 25 * (pagina - 1),
order: [['createdAt', 'DESC']],
}).then((res) => {
for (let i = 0; i < res.rows.length; i++) {
delete res.rows[i].dataValues.idOperadorEntrega;