diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-05-29 18:04:22 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-02 11:29:28 +0200 |
commit | b7b84305a3388af3b678c95d105f6553952b0959 (patch) | |
tree | 66b3e84fbb0644c7e7128f7cc8a67e37188d149f /apps/cloud_federation_api | |
parent | c572e84ad9d408b1bb4c537748d4c8c25bf19f3f (diff) | |
download | nextcloud-server-b7b84305a3388af3b678c95d105f6553952b0959.tar.gz nextcloud-server-b7b84305a3388af3b678c95d105f6553952b0959.zip |
fix capabilities
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/cloud_federation_api')
-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/', + ] + ], ] ] ]; |