cambio de nombre de recoger a entregar

This commit is contained in:
Lemuel Marquez
2021-05-31 16:01:12 -05:00
parent 829aa5e354
commit e51ecbd260
2 changed files with 5 additions and 5 deletions
@@ -8,7 +8,7 @@ const Operador = require(`${dbPath}/Operador`);
const Prestamo = require(`${dbPath}/Prestamo`);
const TipoCarrito = require(`${dbPath}/TipoCarrito`);
const recoger = async (body) => {
const entregar = async (body) => {
const ahora = moment();
const idPrestamo = validarId(body.idPrestamo);
const idOperadorEntrega = validarId(body.idOperadorEntrega);
@@ -61,4 +61,4 @@ const recoger = async (body) => {
});
};
module.exports = recoger;
module.exports = entregar;