From 6877c16dceab9d03502646469324b52325f6e4f3 Mon Sep 17 00:00:00 2001 From: itismadness Date: Tue, 9 Sep 2025 22:05:26 +0000 Subject: [PATCH] Add tokens to ajax index endpoint --- sections/ajax/info.php | 1 + 1 file changed, 1 insertion(+) diff --git a/sections/ajax/info.php b/sections/ajax/info.php index 615df371e..262c27f1b 100644 --- a/sections/ajax/info.php +++ b/sections/ajax/info.php @@ -39,6 +39,7 @@ json_print("success", [ 'requiredratio' => $Viewer->requiredRatio(), 'bonusPoints' => $Viewer->bonusPointsTotal(), 'bonusPointsPerHour' => round(new \Gazelle\User\Bonus($Viewer)->hourlyRate(), 2), + 'tokens' => $Viewer->tokenCount(), 'class' => $Viewer->userclassName(), ] ]);