added new token

This commit is contained in:
2026-02-26 14:38:28 -06:00
parent 08386f7ae5
commit 0ddb17a23f
+6 -1
View File
@@ -166,13 +166,18 @@ export default function Inscripcion({
const id_plataforma = PLATAFORMA_MAP[plataformaSeleccionada];
try {
const token = Cookies.get("token");
const headers = { Authorization: `Bearer ${token}` };
await axios.post(
`${envConfig.apiUrl}/alumno-inscrito`,
{
id_cuenta: numAcount,
id_plataforma,
realizo_pago: false,
}
},
{ headers },
);
Swal.fire({