From e63c4afdabb6527b5edeaa9aa0fbd42939675440 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 6 Jan 2026 15:04:07 +0100 Subject: [PATCH] fix: Usage of a deprecated alias The deprecated warning: The requested alias "UserId" is deprecated. Please request "userId" directly. Signed-off-by: Carl Schwan --- apps/provisioning_api/lib/AppInfo/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/provisioning_api/lib/AppInfo/Application.php b/apps/provisioning_api/lib/AppInfo/Application.php index 57de9dad4162f..9595dd4a60671 100644 --- a/apps/provisioning_api/lib/AppInfo/Application.php +++ b/apps/provisioning_api/lib/AppInfo/Application.php @@ -53,7 +53,7 @@ public function register(IRegistrationContext $context): void { ); }); $context->registerService(ProvisioningApiMiddleware::class, function (ContainerInterface $c) { - $user = $c->get(IUserManager::class)->get($c->get('UserId')); + $user = $c->get(IUserManager::class)->get($c->get('userId')); $isAdmin = false; $isSubAdmin = false;