diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-04-21 15:00:10 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-04-21 19:09:00 +0300 |
commit | 0e1d8f7dd353708f3ab8702492623d507d013773 (patch) | |
tree | 1074361b1d78a1c579c3709b93598d8566bb502b /lib/Service | |
parent | 1029f588a983912dd25c186a3fe551a8ef287498 (diff) |
Use proper file id source for public shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/ApiService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ApiService.php b/lib/Service/ApiService.php index 289443cc6..107462959 100644 --- a/lib/Service/ApiService.php +++ b/lib/Service/ApiService.php @@ -115,7 +115,7 @@ class ApiService { $lockInfo = null; } - $isLocked = $this->documentService->lock($fileId); + $isLocked = $this->documentService->lock($file->getId()); if (!$isLocked) { $readOnly = true; } |