Modificaion de la url de profesores

This commit is contained in:
santiago
2025-08-10 16:54:40 -06:00
parent 3dfe973014
commit c03ee96e07
+1 -1
View File
@@ -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;