mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-16 19:00:54 +00:00
add for write requests "path" where missing and "request"
This commit is contained in:
parent
0c16f86bd4
commit
19def4d561
6 changed files with 6 additions and 6 deletions
|
@ -73,7 +73,7 @@ class ApplicationPartMove(ApplicationBase):
|
|||
if not to_access.check("w"):
|
||||
return httputils.NOT_ALLOWED
|
||||
|
||||
with self._storage.acquire_lock("w", user):
|
||||
with self._storage.acquire_lock("w", user, path=path, request="MOVE", to_path=to_path):
|
||||
item = next(iter(self._storage.discover(path)), None)
|
||||
if not item:
|
||||
return httputils.NOT_FOUND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue