Skip to content
Snippets Groups Projects
Commit 4bc618d1 authored by Haakon Gunleiksrud's avatar Haakon Gunleiksrud
Browse files

get new backend fetch link

parent 039bd81b
No related branches found
No related tags found
3 merge requests!5Ad ci/cs setup,!4Dev,!1Leaderboards
......@@ -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},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment