Skip to content

Commit

Permalink
Removed mock from ranking
Browse files Browse the repository at this point in the history
  • Loading branch information
uo289267 committed Apr 18, 2024
1 parent 8c0b47f commit 6d29ff7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions webapp/src/components/ranking/RankingRetriever.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class RankingRetriever{
}

async getTopTen() {
/*

try {
const response = await axios.get(this.apiUrl + '/top10');//finding the top ten
const receivedTopTenRanking = await response.data;
Expand All @@ -18,8 +18,8 @@ class RankingRetriever{
console.log(error)
throw new Error(error);

}*/

}
/*
return {
"usersCompetitiveStats": [
{
Expand Down Expand Up @@ -73,10 +73,10 @@ class RankingRetriever{
"totalCompetitiveGames": 11
}
]
}
}*/
}
async getMyPosition(user){
/*

try {
const response = await axios.get(this.apiUrl + '/'+user);//finding the top ten
const receivedMyRanking = await response.data;
Expand All @@ -86,13 +86,13 @@ class RankingRetriever{
console.log(error)
throw new Error(error);

}*/

}
/*
return {
"_id": "myUser",
"totalPoints": 250,
"totalCompetitiveGames": 1
};
};*/
}


Expand Down

0 comments on commit 6d29ff7

Please sign in to comment.