diff options
Diffstat (limited to 'ocs')
-rw-r--r-- | ocs/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/routes.php b/ocs/routes.php index 24af2460881..a7e3488d4a3 100644 --- a/ocs/routes.php +++ b/ocs/routes.php @@ -100,7 +100,7 @@ API::register( // Server-to-Server Sharing if (\OC::$server->getAppManager()->isEnabledForUser('files_sharing')) { $federatedSharingApp = new \OCA\FederatedFileSharing\AppInfo\Application('federatedfilesharing'); - $s2s = new OCA\FederatedFileSharing\RequestHandler($federatedSharingApp->getFederatedShareProvider()); + $s2s = new OCA\FederatedFileSharing\RequestHandler($federatedSharingApp->getFederatedShareProvider(), \OC::$server->getDatabaseConnection()); API::register('post', '/cloud/shares', array($s2s, 'createShare'), |