diff --git a/controller/sharecontroller.php b/controller/sharecontroller.php index 571c7ffb..d7184baf 100644 --- a/controller/sharecontroller.php +++ b/controller/sharecontroller.php @@ -39,7 +39,7 @@ class ShareController extends ApiController { public function __construct($AppName, IRequest $request, - IUser $UserId, + $UserId, IGroupManager $groupManager, IUserManager $userManager, ActivityService $activityService, diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 591da47b..ce54227d 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -85,6 +85,7 @@ class Application extends App { $container->registerAlias('VaultController', VaultController::class); $container->registerAlias('CredentialService', CredentialService::class); $container->registerAlias('NotificationService', NotificationService::class); + $container->registerAlias('ActivityService', ActivityService::class); $container->registerAlias('VaultService', VaultService::class); $container->registerAlias('Utils', Utils::class); }