Update the client API to be consistent with how validation is handled

This commit is contained in:
Dane Everitt
2021-08-04 20:55:15 -07:00
parent b47d262ee0
commit 622d292f39
33 changed files with 59 additions and 172 deletions

View File

@@ -7,9 +7,6 @@ use Pterodactyl\Http\Requests\Api\Client\ClientApiRequest;
class CompressFilesRequest extends ClientApiRequest
{
/**
* Checks that the authenticated user is allowed to create archives for this server.
*/
public function permission(): string
{
return Permission::ACTION_FILE_ARCHIVE;