Skip to content

Commit 5e06045

Browse files
committed
fix capabilities
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
1 parent e542f4d commit 5e06045

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

apps/cloud_federation_api/lib/Capabilities.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@ public function getCapabilities() {
4848
'enabled' => true,
4949
'apiVersion' => '1.0-proposal1',
5050
'endPoint' => substr($url, 0, strrpos($url, '/')),
51-
'shareTypes' => ['file'],
52-
'protocol' => [
53-
'webdav' => '/public.php/webdav/',
51+
'shareTypes' => [
52+
[
53+
'name' => 'file',
54+
'protocols' => [
55+
'webdav' => '/public.php/webdav/',
56+
]
57+
],
5458
]
5559
]
5660
];

0 commit comments

Comments
 (0)