aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v2
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/appinfo/v2')
-rw-r--r--apps/dav/appinfo/v2/direct.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v2/direct.php b/apps/dav/appinfo/v2/direct.php
index 4ee22398c7e..633d69a3c3d 100644
--- a/apps/dav/appinfo/v2/direct.php
+++ b/apps/dav/appinfo/v2/direct.php
@@ -34,6 +34,11 @@ ignore_user_abort(true);
$requestUri = \OC::$server->getRequest()->getRequestUri();
$serverFactory = new \OCA\DAV\Direct\ServerFactory(\OC::$server->getConfig());
-$server = $serverFactory->createServer($baseuri, $requestUri);
+$server = $serverFactory->createServer(
+ $baseuri,
+ $requestUri,
+ \OC::$server->getRootFolder(),
+ \OC::$server->query(\OCA\DAV\Db\DirectMapper::class)
+);
$server->exec();