adjust json to match the definition

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2019-02-17 17:15:07 +01:00 committed by Morris Jobke
parent 4c8cfd224c
commit 1b93af37d6
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68

View 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/',
]