fix: leaderboard fix

This commit is contained in:
2025-11-29 17:01:17 +03:30
parent 12a0500520
commit 834c09025f
+1 -1
View File
@@ -616,7 +616,7 @@ public function googleLogin(Request $request)
public function leaderBoard(){
$users = User::with(['breathingSessions.template'])->where('xp', '>', 0)
->orderBy('xp', 'desc')
->orderBy('xp', 'desc')->limit(20)
->get();
return $users;