diff --git a/includes/Api/AIToolboxBot/ApiUserInfo.php b/includes/Api/AIToolboxBot/ApiUserInfo.php index 4a6d8f1..5c9e14f 100644 --- a/includes/Api/AIToolboxBot/ApiUserInfo.php +++ b/includes/Api/AIToolboxBot/ApiUserInfo.php @@ -71,7 +71,7 @@ class ApiUserInfo extends ApiBase { 'realname' => $user->getRealName(), // 'nickname' => $userOptionsLookup->getOption($user, 'nickname'), 'email' => $user->getEmail(), - 'nocost' => false + 'unlimitedusage' => false ]; // Get user points from IsekaiUserPoints @@ -87,7 +87,7 @@ class ApiUserInfo extends ApiBase { } if ($user->isAllowed('aitoolbox-unlimited')) { - $userInfo['nocost'] = true; + $userInfo['unlimitedusage'] = true; } // Get user avatar