diff --git a/src/components/inicio/Equipo.vue b/src/components/inicio/Equipo.vue index 514a66c..225b0cb 100644 --- a/src/components/inicio/Equipo.vue +++ b/src/components/inicio/Equipo.vue @@ -193,14 +193,15 @@ export default { }) .then(res => { swal('Exito', 'Peticion exitosa ', 'success') - axios.get(api.url + '/prestamo', { + axios.get(api.url + '/prestamo?kiosko=' + this.$store.getters.kiosko, { headers: { 'token': this.$store.getters.token } }) .then(response => { - this.prestamo = response.data - this.status = response.data.data.status + this.prestamo = response.data.info + this.status = response.data.status + console.log(this.prestamo) }) .catch(error => { swal('Error', error.response.data.err, 'error')