diff --git a/client/src/Pages/ConsolidatedTable.jsx b/client/src/Pages/ConsolidatedTable.jsx index 65ae7fc..0b64365 100644 --- a/client/src/Pages/ConsolidatedTable.jsx +++ b/client/src/Pages/ConsolidatedTable.jsx @@ -185,7 +185,7 @@ const ConsolidatedTable = () => { try { // Fetch email from the backend const response = await axios.get( - `http://localhost:8080/api/faculty/email/${facultyId}` + `http://localhost:8080/api/faculty/${facultyId}` ); const facultyEmail = response.data.email; const workbook = XLSX.utils.book_new();