Modificaion de la url de profesores
This commit is contained in:
@@ -192,7 +192,7 @@ export default {
|
||||
buscarProfesor() {
|
||||
this.updateIsLoading(true)
|
||||
axios
|
||||
.get(`${process.env.VUE_APP_API}/profesores/${this.numeroTrabajador}`)
|
||||
.get(`${process.env.VUE_APP_API}/api/profesores/${this.numeroTrabajador}`)
|
||||
.then((res) => {
|
||||
this.profesor = res.data;
|
||||
const { id_cuenta, nombre } = res.data;
|
||||
|
||||
Reference in New Issue
Block a user