misc_pterodactyl-panel/app/Http/Requests/Api/Client/Servers/Files/UploadFileRequest.php

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;
}
}