PteroTheme/app/Http/Requests/Api/Client/Servers/Network/NewAllocationRequest.php

15 lines
329 B
PHP
Raw Normal View History

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