Skip to content

Commit 6b6deef

Browse files
Merge pull request #57373 from nextcloud/carl/fix-deprecated-alias
fix: Usage of a deprecated alias
2 parents 8d55b13 + e63c4af commit 6b6deef

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)