diff --git a/frontend/src/pages/NewEnrolmentElectives/index.js b/frontend/src/pages/NewEnrolmentElectives/index.js index 79ce6707..208c0c91 100644 --- a/frontend/src/pages/NewEnrolmentElectives/index.js +++ b/frontend/src/pages/NewEnrolmentElectives/index.js @@ -50,7 +50,7 @@ const NewEnrolmentElectives = () => { const checkRegistrationPeriod = async () => { try { const response = await axios.get( - "https://backend-matriculai.vercel.app/registration/period" + "https://backend-matriculai.vercel.app/registration-period/current" ); const registrationPeriod = response.data; diff --git a/frontend/src/pages/NewEnrolmentLP/index.js b/frontend/src/pages/NewEnrolmentLP/index.js index ab74d5fc..fcd4429d 100644 --- a/frontend/src/pages/NewEnrolmentLP/index.js +++ b/frontend/src/pages/NewEnrolmentLP/index.js @@ -37,7 +37,7 @@ const NewEnrolmentLP = () => { const checkRegistrationPeriod = async () => { try { const response = await axios.get( - "https://backend-matriculai.vercel.app/registration/period" + "https://backend-matriculai.vercel.app/registration-period/current" ); const registrationPeriod = response.data;