Skip to content

Commit

Permalink
Merge pull request #1881 from nextcloud/backport/1865/stable31
Browse files Browse the repository at this point in the history
[stable31] fix: Set a token to shares retrieved from the DB
  • Loading branch information
ArtificialOwl authored Feb 20, 2025
2 parents 9b418e7 + b9cbc56 commit d9c296b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Model/ShareWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ public function getShare(
$share->setTarget($this->getFileTarget());
$share->setProviderId($this->getProviderId());
$share->setStatus($this->getStatus());
$share->setToken($this->getToken());
$share->setHideDownload($this->getHideDownload());
$share->setAttributes($this->getAttributes());
if ($this->hasShareToken()) {
Expand Down

0 comments on commit d9c296b

Please sign in to comment.