Refactored students

This commit is contained in:
Kevin FEDYNA
2025-01-27 13:11:13 +01:00
parent 4ff76fdf6f
commit e88045c952
13 changed files with 187 additions and 126 deletions
@@ -39,7 +39,7 @@ export default function UploadStudents() {
console.log(`Data from sheet ${sheetName}:`, data);
const response = await fetch("/students/api/insert_students", {
const response = await fetch("/students/api/students", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ promoName: sheetName, data }),