2020-07-12 22:42:32 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Client\Servers\Files;
|
|
|
|
|
|
|
|
use Pterodactyl\Models\Permission;
|
|
|
|
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
|
|
|
|
|
|
|
|
class UploadFileRequest extends ClientApiRequest
|
|
|
|
{
|
2022-10-14 16:59:20 +00:00
|
|
|
public function permission(): string
|
2020-07-12 22:42:32 +00:00
|
|
|
{
|
|
|
|
return Permission::ACTION_FILE_CREATE;
|
|
|
|
}
|
|
|
|
}
|