misc_pterodactyl-panel/app/Http/Requests/Api/Client/Servers/Files/UploadFileRequest.php
Matthew Penner cbcf62086f
Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00

14 lines
318 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Api\Client\Servers\Files;
use Pterodactyl\Models\Permission;
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
class UploadFileRequest extends ClientApiRequest
{
public function permission(): string
{
return Permission::ACTION_FILE_CREATE;
}
}