diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-02-20 15:32:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 15:32:38 +0100 |
commit | beba18224898777b559f3a657d890c0e9bdd7864 (patch) | |
tree | 6172de82eb66d11bfa10cd5da1204391b11d2dff /apps | |
parent | 0becd88feb63de6ac02b495ad1440d8bd7cdcbd2 (diff) | |
parent | faef05730a2fca6ca019f645685ad6a08839d71c (diff) | |
download | nextcloud-server-beba18224898777b559f3a657d890c0e9bdd7864.tar.gz nextcloud-server-beba18224898777b559f3a657d890c0e9bdd7864.zip |
Merge pull request #14255 from nextcloud/fix-ocm-discovery
Fix ocm end-point discovery discovery
Diffstat (limited to 'apps')
-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/', ] |