更改nocost为unlimitedusage

main
落雨楓 8 months ago
parent 2b61773595
commit ba6902aefe

@ -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

Loading…
Cancel
Save