This repository has been archived on 2025-05-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Astral-nook/app/Http/Requests/Api/Client/Servers/GetServerRequest.php
2021-01-23 12:33:34 -08:00

18 lines
450 B
PHP

<?php
namespace Pterodactyl\Http\Requests\Api\Client\Servers;
use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
class GetServerRequest extends ClientApiRequest
{
/**
* Determine if a client has permission to view this server on the API. This
* should never be false since this would be checking the same permission as
* resourceExists().
*/
public function authorize(): bool
{
return true;
}
}