diff --git a/frontend/www/scripts/exercise.js b/frontend/www/scripts/exercise.js index 0e9dba45cd4689d999916486f261d6347c8bca73..854a4725cef02798393ca2c1ae9b1245a521195f 100644 --- a/frontend/www/scripts/exercise.js +++ b/frontend/www/scripts/exercise.js @@ -123,7 +123,7 @@ async function updateExercise(id) { } async function fetchLeaderBoards() { - //let response = await sendRequest("GET", `${HOST}/api/exercises/${id}/getLeaderBoards`); + //let response = await sendRequest("GET", `${HOST}/api/leaderboards/${id}`); //Placeholder response and status: let response = [{"name": "Mark", "value": 301, "rank": 1}, {"name": "Anton", "value": 245, "rank": 2},