summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-20 15:32:38 +0100
committerGitHub <noreply@github.com>2019-02-20 15:32:38 +0100
commitbeba18224898777b559f3a657d890c0e9bdd7864 (patch)
tree6172de82eb66d11bfa10cd5da1204391b11d2dff /apps
parent0becd88feb63de6ac02b495ad1440d8bd7cdcbd2 (diff)
parentfaef05730a2fca6ca019f645685ad6a08839d71c (diff)
downloadnextcloud-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.php3
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/',
]