mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-03 21:05:45 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
18 lines
363 B
PHP
18 lines
363 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Http\Requests\Api\Admin\ApiKeys;
|
|
|
|
use Pterodactyl\Enum\Permissions;
|
|
|
|
class UpdateApiKeyRequest extends StoreApiKeyRequest
|
|
{
|
|
public function permissions(): array
|
|
{
|
|
return [Permissions::AdminApiKeysUpdate];
|
|
}
|
|
|
|
// Same payload as creation; rules and getKeyPermissions() are inherited.
|
|
}
|