summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/api
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r--apps/files_sharing/api/share20ocs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/api/share20ocs.php b/apps/files_sharing/api/share20ocs.php
index c698dccefb8..e4cc50d9c1a 100644
--- a/apps/files_sharing/api/share20ocs.php
+++ b/apps/files_sharing/api/share20ocs.php
@@ -87,6 +87,8 @@ class Share20OCS {
'parent' => $share->getParent(),
'expiration' => null,
'token' => null,
+ 'uid_file_owner' => $share->getShareOwner()->getUID(),
+ 'displayname_file_owner' => $share->getShareOwner()->getDisplayName(),
];
$path = $share->getPath();