diff --git a/lib/Model/ShareWrapper.php b/lib/Model/ShareWrapper.php index 2a242f99b..d3cce6443 100644 --- a/lib/Model/ShareWrapper.php +++ b/lib/Model/ShareWrapper.php @@ -732,8 +732,8 @@ public function import(array $data): IDeserializable { ->setFileSource($this->getInt('fileSource', $data)) ->setFileTarget($this->get('fileTarget', $data)) ->setSharedWith($this->get('sharedWith', $data)) - ->setSharedBy($this->get('uidInitiator', $data)) - ->setShareOwner($this->get('uidOwner', $data)) + ->setSharedBy($this->get('sharedBy', $data)) + ->setShareOwner($this->get('shareOwner', $data)) ->setToken($this->get('token', $data)) ->setShareTime($shareTime);