This commit is contained in:
Lemuel Marquez
2021-06-23 14:12:57 -05:00
parent e16e6e5842
commit 831cec8dfe
+1 -1
View File
@@ -58,7 +58,7 @@ const historial = async (body) => {
],
limit: 25,
offset: 25 * (pagina - 1),
oreder: [['createdAt']],
order: [['createdAt', 'DESC']],
}).then((res) => {
for (let i = 0; i < res.rows.length; i++) {
delete res.rows[i].dataValues.idUsuario;