diff options
-rw-r--r-- | apps/cloud_federation_api/lib/Capabilities.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/cloud_federation_api/lib/Capabilities.php b/apps/cloud_federation_api/lib/Capabilities.php index 88b8c7b391b..a3db8530ef0 100644 --- a/apps/cloud_federation_api/lib/Capabilities.php +++ b/apps/cloud_federation_api/lib/Capabilities.php @@ -48,9 +48,13 @@ class Capabilities implements ICapability { 'enabled' => true, 'apiVersion' => '1.0-proposal1', 'endPoint' => substr($url, 0, strrpos($url, '/')), - 'shareTypes' => ['file'], - 'protocol' => [ - 'webdav' => '/public.php/webdav/', + 'shareTypes' => [ + [ + 'name' => 'file', + 'protocols' => [ + 'webdav' => '/public.php/webdav/', + ] + ], ] ] ]; |