Add tokens to ajax index endpoint

This commit is contained in:
itismadness
2025-09-09 22:05:26 +00:00
committed by Spine
parent cc74eaa4c3
commit 6877c16dce

View File

@@ -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(),
]
]);