errores pequeños
This commit is contained in:
@@ -30,7 +30,6 @@ const nuevo = async (body, file) => {
|
||||
: '';
|
||||
let carpeta = '';
|
||||
|
||||
console.log(fechaInicio.format());
|
||||
return Usuario.findOne({
|
||||
where: { idUsuario },
|
||||
})
|
||||
|
||||
@@ -44,7 +44,7 @@ const serviciosAdmin = async (body) => {
|
||||
idServicio: res.rows[i].idServicio,
|
||||
fechaInicio: moment(res.rows[i].fechaInicio).format(),
|
||||
fechaFin: moment(res.rows[i].fechaFin).format(),
|
||||
createdAt: moment(res.rows[i].fechaFin).format(),
|
||||
createdAt: moment(res.rows[i].createdAt).format(),
|
||||
Usuario: {
|
||||
idUsuario: res.rows[i].Usuario.idUsuario,
|
||||
usuario: res.rows[i].Usuario.usuario,
|
||||
|
||||
Reference in New Issue
Block a user