From e828e9e82fd4d6a8d61aed40e18bc8611419cba9 Mon Sep 17 00:00:00 2001 From: Levi van Noort <73097785+levivannoort@users.noreply.github.com> Date: Thu, 11 Dec 2025 14:51:01 +0100 Subject: [PATCH] chore: remove unused inject --- app/controllers/api/account.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 76d65e75e1..1c5b3bb535 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -358,7 +358,6 @@ App::post('/v1/account') ->param('email', '', new EmailValidator(), 'User email.') ->param('password', '', fn ($project, $passwordsDictionary) => new PasswordDictionary($passwordsDictionary, $project->getAttribute('auths', [])['passwordDictionary'] ?? false), 'New user password. Must be between 8 and 256 chars.', false, ['project', 'passwordsDictionary']) ->param('name', '', new Text(128), 'User name. Max length: 128 chars.', true) - ->inject('request') ->inject('response') ->inject('user') ->inject('project')