Skip to content

Commit 84464a1

Browse files
Merge pull request #1993 from nextcloud/backport/1865/stable29
[stable29] fix: Set a token to shares retrieved from the DB
2 parents 7d33b57 + 13d356e commit 84464a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Model/ShareWrapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ public function getShare(
400400
$share->setTarget($this->getFileTarget());
401401
$share->setProviderId($this->getProviderId());
402402
$share->setStatus($this->getStatus());
403+
$share->setToken($this->getToken());
403404
$share->setHideDownload($this->getHideDownload());
404405
$share->setAttributes($this->getAttributes());
405406
if ($this->hasShareToken()) {

0 commit comments

Comments
 (0)