return the as well note if we fetch a share

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2018-07-13 17:53:14 +02:00 committed by John Molakvoæ (skjnldsv)
parent 660b5d1af6
commit 72d2455577
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ class ShareAPIController extends OCSController {
'expiration' => null,
'token' => null,
'uid_file_owner' => $share->getShareOwner(),
'note' => $share->getNote(),
'displayname_file_owner' => $shareOwner !== null ? $shareOwner->getDisplayName() : $share->getShareOwner(),
];