Skip to content
Snippets Groups Projects
Commit b88530cf authored by VIktorGrev's avatar VIktorGrev
Browse files

feat: Adding more surrounding

parent 53a11d5b
No related branches found
No related tags found
No related merge requests found
Pipeline #276784 failed
......@@ -77,17 +77,17 @@ async function global() {
let globalPointsYou = await LeaderboardService.getSurrounding({
type: "TOTAL_POINTS",
filter: "GLOBAL",
entryCount: 1,
entryCount: 2,
});
let globalStreakYou = await LeaderboardService.getSurrounding({
type: "TOP_STREAK",
filter: "GLOBAL",
entryCount: 1,
entryCount: 2,
});
let globalCurrentStreakYou = await LeaderboardService.getSurrounding({
type: "CURRENT_STREAK",
filter: "GLOBAL",
entryCount: 1,
entryCount: 2,
});
pointsLeaderboardData.value = globalPoints.entries;
......@@ -117,17 +117,17 @@ async function friends() {
let friendsPointsYou = await LeaderboardService.getSurrounding({
type: "TOTAL_POINTS",
filter: "FRIENDS",
entryCount: 3,
entryCount: 2,
});
let friendsStreakYou = await LeaderboardService.getSurrounding({
type: "TOP_STREAK",
filter: "FRIENDS",
entryCount: 3,
entryCount: 2,
});
let friendsCurrentStreakYou = await LeaderboardService.getSurrounding({
type: "CURRENT_STREAK",
filter: "FRIENDS",
entryCount: 3,
entryCount: 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