Return the correct group casing in sharee api
This commit is contained in:
parent
ab39be1d11
commit
8cd52ed36d
|
@ -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…
Reference in New Issue