diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2019-02-17 17:15:07 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-02-20 10:35:14 +0100 |
commit | 1b93af37d601ff40a6b05a195ae2138abe796e5a (patch) | |
tree | a5497bba1bb4b218dd95d7f6eb75bbe7e2cf6df9 /apps/cloud_federation_api | |
parent | 4c8cfd224c770a65ceb115ca521e2a848402724d (diff) | |
download | nextcloud-server-1b93af37d601ff40a6b05a195ae2138abe796e5a.tar.gz nextcloud-server-1b93af37d601ff40a6b05a195ae2138abe796e5a.zip |
adjust json to match the definition
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/cloud_federation_api/lib/Capabilities.php b/apps/cloud_federation_api/lib/Capabilities.php index a3db8530ef0..d614d7d4730 100644 --- a/apps/cloud_federation_api/lib/Capabilities.php +++ b/apps/cloud_federation_api/lib/Capabilities.php @@ -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/', ] |