Skip to content

Commit

Permalink
fixup! Update file etag and propagate it with the proper path
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Apr 19, 2022
1 parent 3ade291 commit 3477431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/LockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ function (FileLock $lock) {
$this->locksRequest->removeIds($ids);
}

private function propagateEtag(LockScope $lockScope): void {
$node = $lockScope->getNode();
private function propagateEtag(LockContext $lockContext): void {
$node = $lockContext->getNode();
$node->getStorage()->getCache()->update($node->getId(), [
'etag' => uniqid(),
]);
Expand Down

0 comments on commit 3477431

Please sign in to comment.