Skip to content

Commit

Permalink
Update actualizar.controller.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresJaramillo2023 authored Aug 18, 2023
1 parent 551bbf3 commit 9d82d27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/actualizar.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const obtenerInformacion = async () => {
varNombre.value = perfil.nombre;
varPrecio.value = perfil.precio;
varDescripcion.value = perfil.descripcion;
window.location.reload()
} else {
throw new Error(); //Activamos el error
}
Expand Down

0 comments on commit 9d82d27

Please sign in to comment.