Browse Source

Return the correct group casing in sharee api

remotes/origin/external-storage-mountpoint-root
Joas Schilling 10 years ago
parent
commit
8cd52ed36d
  1. 4
      apps/files_sharing/api/sharees.php

4
apps/files_sharing/api/sharees.php

@ -223,10 +223,10 @@ class Sharees {
foreach ($groups as $gid) {
if (strtolower($gid) === $search) {
$this->result['exact']['groups'][] = [
'label' => $search,
'label' => $gid,
'value' => [
'shareType' => Share::SHARE_TYPE_GROUP,
'shareWith' => $search,
'shareWith' => $gid,
],
];
} else {

Loading…
Cancel
Save