mirror of
https://github.com/pterodactyl/panel.git
synced 2026-04-21 15:26:58 -05:00
chore: update composer dependencies (#5198)
Signed-off-by: Matthew Penner <me@matthewp.io>
This commit is contained in:
@@ -19,7 +19,7 @@ class NodeAutoDeployController extends Controller
|
||||
public function __construct(
|
||||
private ApiKeyRepository $repository,
|
||||
private Encrypter $encrypter,
|
||||
private KeyCreationService $keyCreationService
|
||||
private KeyCreationService $keyCreationService,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ class NodeAutoDeployController extends Controller
|
||||
*/
|
||||
public function __invoke(Request $request, Node $node): JsonResponse
|
||||
{
|
||||
/** @var \Pterodactyl\Models\ApiKey|null $key */
|
||||
/** @var ApiKey|null $key */
|
||||
$key = $this->repository->getApplicationKeys($request->user())
|
||||
->filter(function (ApiKey $key) {
|
||||
foreach ($key->getAttributes() as $permission => $value) {
|
||||
|
||||
Reference in New Issue
Block a user