Re-added username in getuserstatus
Upon popular demand *cough* @WKNiGHT- *cough* this is now available in the data JSON array.
This commit is contained in:
parent
c85b5f0207
commit
fdfc82476a
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user