From 106cf3bf5b97634c8e1adeaa21933e8316c8e8bc Mon Sep 17 00:00:00 2001 From: brantje Date: Mon, 26 Sep 2016 21:23:24 +0200 Subject: [PATCH] Fix error 500 --- controller/sharecontroller.php | 2 +- lib/AppInfo/Application.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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); }