diff --git a/public/include/pages/api/getuserstatus.inc.php b/public/include/pages/api/getuserstatus.inc.php index e7abf7c5..8e0ef7ec 100644 --- a/public/include/pages/api/getuserstatus.inc.php +++ b/public/include/pages/api/getuserstatus.inc.php @@ -11,6 +11,7 @@ $user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUES // Output JSON format $data = array( + 'username' => $user->getUsername($user_id), 'shares' => $statistics->getUserShares($user_id), 'hashrate' => $statistics->getUserHashrate($user_id), 'sharerate' => $statistics->getUserSharerate($user_id)