ordenar
This commit is contained in:
@@ -58,6 +58,7 @@ const historial = async (body) => {
|
||||
],
|
||||
limit: 25,
|
||||
offset: 25 * (pagina - 1),
|
||||
oreder: [['createdAt', 'DESC']],
|
||||
}).then((res) => {
|
||||
for (let i = 0; i < res.rows.length; i++) {
|
||||
delete res.rows[i].dataValues.idUsuario;
|
||||
|
||||
Reference in New Issue
Block a user