mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix: Usage of a deprecated alias
The deprecated warning: The requested alias "UserId" is deprecated. Please request "userId" directly. Signed-off-by: Carl Schwan <carlschwan@kde.org>
This commit is contained in:
parent
72ad2edcd7
commit
e63c4afdab
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue