misc_pterodactyl-panel/app/Http/Requests/Api/Client/Account/StoreSSHKeyRequest.php

15 lines
301 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Http\Requests\Api\Client\Account;
use Pterodactyl\Models\UserSSHKey;
use Pterodactyl\Http\Requests\Api\Client\AccountApiRequest;
class StoreSSHKeyRequest extends AccountApiRequest
{
public function rules(): array
{
return UserSSHKey::getRules();
}
}