mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Fix collection creation with PUT request
This commit is contained in:
parent
8ac3ce1a89
commit
26e1c9ba89
1 changed files with 2 additions and 1 deletions
|
@ -579,7 +579,8 @@ class Application:
|
|||
if item:
|
||||
# Delete old collection
|
||||
item.delete()
|
||||
new_item = self.Collection.create_collection(path, items, tag)
|
||||
new_item = self.Collection.create_collection(
|
||||
path, items, {"tag": tag})
|
||||
else:
|
||||
if tag:
|
||||
parent_item.set_meta({"tag": tag})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue