2020-03-23 01:15:38 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Client\Account;
|
|
|
|
|
2021-07-29 04:23:10 +00:00
|
|
|
use Pterodactyl\Models\PersonalAccessToken;
|
2020-03-23 01:15:38 +00:00
|
|
|
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
|
|
|
|
|
|
|
|
class StoreApiKeyRequest extends ClientApiRequest
|
|
|
|
{
|
|
|
|
public function rules(): array
|
|
|
|
{
|
|
|
|
return [
|
2021-07-29 04:23:10 +00:00
|
|
|
'description' => PersonalAccessToken::getRules()['description'],
|
2020-08-18 02:48:51 +00:00
|
|
|
];
|
|
|
|
}
|
2020-03-23 01:15:38 +00:00
|
|
|
}
|