This commit is contained in:
2025-12-18 18:38:19 +03:30
5 changed files with 115 additions and 24 deletions
+1 -1
View File
@@ -629,7 +629,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;