Skip to content

Commit e63c4af

Browse files
committed
fix: Usage of a deprecated alias
The deprecated warning: The requested alias "UserId" is deprecated. Please request "userId" directly. Signed-off-by: Carl Schwan <[email protected]>
1 parent 72ad2ed commit e63c4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/provisioning_api/lib/AppInfo/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function register(IRegistrationContext $context): void {
5353
);
5454
});
5555
$context->registerService(ProvisioningApiMiddleware::class, function (ContainerInterface $c) {
56-
$user = $c->get(IUserManager::class)->get($c->get('UserId'));
56+
$user = $c->get(IUserManager::class)->get($c->get('userId'));
5757
$isAdmin = false;
5858
$isSubAdmin = false;
5959

0 commit comments

Comments
 (0)