From 72d24555773aeffd2481b59e54e866632a1c763c Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 13 Jul 2018 17:53:14 +0200 Subject: [PATCH] return the as well note if we fetch a share Signed-off-by: Bjoern Schiessle --- apps/files_sharing/lib/Controller/ShareAPIController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 816ecde9c4..33782d21b5 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -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(), ];