Conexion a base de datos

This commit is contained in:
Daniel Cortés
2019-06-16 22:48:48 -04:00
parent 4458e2ffef
commit a9838da2d7
5 changed files with 44 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ export default {
.get('/api/users')
.then(response => {
this.loading = false;
this.users = response.data;
this.users = response.data.data;
}).catch(error => {
this.loading = false;
this.error = error.response.data.message || error.message;