2020-07-12 23:42:32 +01: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 17:59:20 +01:00
|
|
|
public function permission(): string
|
2020-07-12 23:42:32 +01:00
|
|
|
{
|
|
|
|
return Permission::ACTION_FILE_CREATE;
|
|
|
|
}
|
|
|
|
}
|