This commit is contained in:
2025-11-28 19:49:48 -06:00
parent 2ac4044700
commit f465f55a68
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -419,7 +419,7 @@ table {
table th,
table td {
padding: 0.85rem 1.5rem;
padding: 1rem 1.5rem;
}
table th {
@@ -432,6 +432,7 @@ table th {
text-align: center;
z-index: 2;
border: none;
min-height: 35px;
}
table td {
+2
View File
@@ -46,7 +46,9 @@ apiClient.interceptors.response.use(
}
if (status === 403) {
if (typeof window !== "undefined") {
window.location.href = "/Impresiones";
}
}
}
return Promise.reject(error);
+3 -2
View File
@@ -1,10 +1,11 @@
import axios from "axios";
import { envConfig } from "./config";
import apiClient from "./apiClient";
export async function GetStudent(numAcount: number) {
try {
const response = await axios.get(
`${envConfig.apiUrl}/student/${numAcount}`
const response = await apiClient.get(
`/student/${numAcount}`
);
return response.data;