Merge pull request #57373 from nextcloud/carl/fix-deprecated-alias

fix: Usage of a deprecated alias
This commit is contained in:
Joas Schilling 2026-01-07 14:35:32 +01:00 committed by GitHub
commit 6b6deefee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ class Application extends App implements IBootstrap {
);
});
$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;