]> source.dussan.org Git - nextcloud-server.git/commitdiff
adjust json to match the definition
authorBjoern Schiessle <bjoern@schiessle.org>
Sun, 17 Feb 2019 16:15:07 +0000 (17:15 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 20 Feb 2019 09:35:14 +0000 (10:35 +0100)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
apps/cloud_federation_api/lib/Capabilities.php

index a3db8530ef00d96cc64099544b8a5f00ef6c3cbc..d614d7d473006b9cd0750cd8cdc08df6a8dfcdbc 100644 (file)
@@ -48,9 +48,10 @@ class Capabilities implements ICapability {
                                'enabled' => true,
                                'apiVersion' => '1.0-proposal1',
                                'endPoint' => substr($url, 0, strrpos($url, '/')),
-                               'shareTypes' => [
+                               'resourceTypes' => [
                                        [
                                                'name' => 'file',
+                                               'shareTypes' => ['user', 'group'],
                                                'protocols' => [
                                                        'webdav' => '/public.php/webdav/',
                                                ]